<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Evgeny Kot on Medium]]></title>
        <description><![CDATA[Stories by Evgeny Kot on Medium]]></description>
        <link>https://medium.com/@bunopus?source=rss-3dd5f938e92f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*ongQbIKQFmif4AJ-14PlNg.jpeg</url>
            <title>Stories by Evgeny Kot on Medium</title>
            <link>https://medium.com/@bunopus?source=rss-3dd5f938e92f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 06:10:25 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@bunopus/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Logitech Spotlight + reveal.js]]></title>
            <link>https://medium.com/@bunopus/logitech-spotlight-reveal-js-90f747e36458?source=rss-3dd5f938e92f------2</link>
            <guid isPermaLink="false">https://medium.com/p/90f747e36458</guid>
            <category><![CDATA[revealjs]]></category>
            <category><![CDATA[logitech-spotlight]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Evgeny Kot]]></dc:creator>
            <pubDate>Fri, 05 Jan 2018 20:27:07 GMT</pubDate>
            <atom:updated>2018-01-06T13:02:43.276Z</atom:updated>
            <content:encoded><![CDATA[<p>I am big fan of <a href="https://github.com/hakimel/reveal.js/">reveal.js</a>. It’s a super-cool and customizable framework for creating presentations. And usually i use it for all my talks. Recently i got <a href="https://www.logitech.com/en-us/product/spotlight-presentation-remote">Logitech Spotlight</a> (thanks to <a href="https://holyjs.ru/">HolyJS</a>)— high-end presenter, which can do many cool things, highlight, magnify, vibrate 😲. But it turned out that it can’t … switch slides in reveal.js.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E62fb9qXeizzO-pW3mn60Q.jpeg" /><figcaption>Yes, it has HolyJS logo on it!</figcaption></figure><h3>What’s the problem?</h3><p>Reveal.js has cool feature — you can create two-dimensional slides where your talk divided to the chapters with sub-slides in them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ynpFY7EYwQJbsBkWHcYf8g.png" /><figcaption>My talk about Dart language</figcaption></figure><p>You can navigate through the slides using arrows (or h,j,k,l keys, but it’s not so convenient). The problem is that Logitech Spotlight sends keycode <strong><em>39 (Right Arrow) </em></strong>when you press big button. Instead of moving to the <em>next slide </em>it moves to the<em> next chapter. </em>What a bummer 😕. But how to fix this problem?</p><h3><strong>Reassign keys in presenter software</strong></h3><p>Although it has many cool features — you cannot do that. And also you can try to do that in <a href="https://askubuntu.com/questions/69804/how-do-i-change-the-keymap-of-a-single-device-logitech-presenter">System</a>, but it looks like Mac OS doesn’t allow to do this. I saw some posts about <em>Karabiner, </em>but i don’t think it can do that for separate device.</p><h3>Tweak reveal.js</h3><p>It looks like a best solution, just remap keys, especially because there is API for that:</p><pre>Reveal.configure({<br>  keyboard: {<br>     39: &#39;next&#39;, // Right Arrow<br>     37: &#39;prev&#39;  // Left Arrow<br>  }<br>});</pre><p>But… How do you navigate through the slides then? 🤔 Yes, you can use h,j,k,l (by default), or any other buttons, but it’s just uncomfortable. Arrows are the most convenient and intuitive way of navigation. So if we can’t use arrows, it would be very nice to use ALT + ARROWS for example. Okay, let’s look at the API again, maybe we can use custom functions?</p><pre>Reveal.configure({<br>  keyboard: {<br>     39: function(event) {<br>        if(event.altKey) {<br>           Reveal.navigateRight();<br>        } else {<br>           Reveal.nextSlide();<br>        }<br>   }<br>});</pre><p>Looking good, but for some reason, this didn’t work. 😔. And after some investigations i realise why (reveal.js code):</p><pre><em>/**<br> * Handler for the document level &#39;keydown&#39; event.<br> *<br> * </em><strong><em>@param </em></strong><em>{object} event<br> */<br></em><strong>function </strong>onDocumentKeyDown( event ) {<br>  //...<br>   <strong>if</strong>( activeElementIsCE || activeElementIsInput || activeElementIsNotes || (event.shiftKey &amp;&amp; event.keyCode !== 32) || <strong>event.altKey</strong> || event.ctrlKey || event.metaKey ) <strong>return</strong>;<br>  //...</pre><p>So you cannot use keyboard modificators in reveal… But hey, we can write our own plugin!</p><h3>Solution</h3><p>After all this investigations I had no choice but to write my own plugin. It’s uber small but at least I do not have to write this code again and again. <a href="https://github.com/bunopus/reveal-alt-arrows">https://github.com/bunopus/reveal-alt-arrows</a></p><p>Hope this article and plugin can help someone who faced same problem. If you know better solution — please let me know!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=90f747e36458" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A few words about HolyJS]]></title>
            <link>https://medium.com/@bunopus/a-few-words-about-holyjs-82540334a94c?source=rss-3dd5f938e92f------2</link>
            <guid isPermaLink="false">https://medium.com/p/82540334a94c</guid>
            <category><![CDATA[conference]]></category>
            <category><![CDATA[holyjs]]></category>
            <dc:creator><![CDATA[Evgeny Kot]]></dc:creator>
            <pubDate>Sun, 08 Oct 2017 14:00:16 GMT</pubDate>
            <atom:updated>2017-10-08T14:00:16.299Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*auLeUbBzwk88j5g0gbwCWg.jpeg" /></figure><p>For those who don’t know there is a conference called <a href="https://holyjs.ru/">HolyJS</a>. I don’t want to say advertising slogans such as “the largest, coolest conference in Russia about JavaScript and stuff” but nevertheless I really love it, and attended all the events, at first as a speaker, and then as a member of the program committee. But today i don’t want to advertise (especially because I’m not an PR specialist), but to talk about preparation for the conference and the work of the Program Committee.</p><p>This post is addressed primarily to all speakers; those who have submitted applications that have already been accepted, or who are waiting for an answer. I regularly attend various conferences, and it often happens that the organizers (or the program committee) are very “sluggish”: they respond to letters for a long time, keep silent in the chat and so on. And I thought: “Guys, come on, is it hard to write a couple of words?”. And only when I found myself “on the other side of the barricade,” I realized how much work is hidden behind a large conference. And this year, while preparing HolyJS Moscow, we in the program committee felt this especially: the requests came almost three times more than there are seats! To just understand, answer, discuss them — it’s all not so simple as we thought. But for me it’s not just “yet another frontend conference”, but something bigger, so i hope all this work will help HolyJS to grow and improve.</p><p>Therefore, I would like to apologize to all the speakers: sometimes it is very difficult, but we are trying! And if it seems to you that you have been forgotten, it is not so, most likely we are in the process of discussion, consideration, dispute. However, you can always ping us, and ask: “What’s up?”. We will gladly answer.<br>A few words about the talks: along with the growth of the conference, the level of papers is also growing. On the one hand it is good, but, gosh, how hard it is sometimes to choose! After all, all applications are very interesting, but, unfortunately, despite our big lovely hearts, we physically can not accept all the proposals. Nevertheless, every speaker is important to us, and you are all cool, guys!</p><p>P.S. Many thanks to our Program Committee: <a href="https://medium.com/u/9d8fb1b4c151">Vadim Gorbachev</a>, <a href="https://twitter.com/mike1pol">Mikhail Poluboyarinov</a> and <a href="https://medium.com/u/9264feb2d7a2">Dmitry Makhnev</a> 💪</p><p>P.P.S. The work on the conference seems boring at first glance, but it turned out that there are a lot of interesting things in it, I think to write another article or two.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=82540334a94c" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>