简体   繁体   English

如何停止无线答题器跳过幻灯片上的增量内容

[英]How to stop wireless clicker skipping incremental content on slides

I like creating my presentations in RMarkdown using slidy. 我喜欢使用slidy在RMarkdown中创建演示文稿。

It seems like Slidy needs to see right and left arrows for moving forwards and backwards through the incremental display of a slide. 似乎Slidy需要看到向右和向左箭头才能在幻灯片的增量显示中前后移动。

It also seems that most remote clickers send Page Down and Page Up. 似乎大多数远程单击器都发送Page Down和Page Up。 (Looks like I have a Logitech R400.) (好像我有一台Logitech R400。)

For Slidy, these are causing a jump to the next slide, and is skipping the incremental display of the bullets on my slide. 对于Slidy,这些会导致跳到下一张幻灯片,并且正在跳过幻灯片上项目符号的增量显示。

Is there a way to get Slidy to process the Page Up / Down differently? 有没有办法让Slidy以不同方式处理Page Up / Down? To treat them the same as Right/Left? 要像右/左一样对待它们?

Also open to any apps that could intercept the clicker and convert it, but that may be better posted in a different community; 同时向所有可能拦截答题器并进行转换的应用程序开放,但最好将其发布在其他社区中; hoping for a software fix at it's more likely to be portable when presenting on other machines. 希望在其他计算机上展示软件时更容易移植。

Monkey Patch fix : 猴子补丁修复:

I went to self_contained: false in the YAML top-matter, then went to libs\\slidy-2\\scripts\\slidy.js . 我去了self_contained: falseYAML最重要的地方为self_contained: false ,然后去了libs\\slidy-2\\scripts\\slidy.js

Circa line 2089, found block beginning if (key == 34) // Page Down . 大约2089行, if (key == 34) // Page Down找到块开始。

Inside that block, found the line w3c_slidy.next_slide(false); 在该块内,找到行w3c_slidy.next_slide(false); .
Changed that to w3c_slidy.next_slide(!event.shiftKey); 将其更改为w3c_slidy.next_slide(!event.shiftKey); (copied from the Right arrow block a little further down) and now I get the behaviour I want. Right arrow复制的框再向下一点),现在我得到了想要的行为。

Suspect it may not be robust. 怀疑它可能不可靠。 May get trashed when I re-knit the RMarkdown. 当我重新编织RMarkdown时可能会被丢弃。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM