WhatKey.net, a simple way to find JavaScript keycodes

Today while preparing a set of slides for an upcoming talk I decided that I wanted to do the slides as a series of web pages, the problem is that I still wanted to be able to use my Logitech clicker. Since it ‘just works’ when I plug it in …


This content originally appeared on Posts on LINQ to Fail and was authored by Posts on LINQ to Fail

Today while preparing a set of slides for an upcoming talk I decided that I wanted to do the slides as a series of web pages, the problem is that I still wanted to be able to use my Logitech clicker. Since it ‘just works’ when I plug it in I figured it was firing some simple keyboard events, but the question is, what keyboard events is it firing? I fired up Chrome, opened the JavaScript console and added a body keypress event to capture the keycode.


This content originally appeared on Posts on LINQ to Fail and was authored by Posts on LINQ to Fail


Print Share Comment Cite Upload Translate
APA
Posts on LINQ to Fail | Sciencx (2023-03-26T05:12:50+00:00) » WhatKey.net, a simple way to find JavaScript keycodes. Retrieved from https://www.scien.cx/2010/12/07/whatkey-net-a-simple-way-to-find-javascript-keycodes/.
MLA
" » WhatKey.net, a simple way to find JavaScript keycodes." Posts on LINQ to Fail | Sciencx - Tuesday December 7, 2010, https://www.scien.cx/2010/12/07/whatkey-net-a-simple-way-to-find-javascript-keycodes/
HARVARD
Posts on LINQ to Fail | Sciencx Tuesday December 7, 2010 » WhatKey.net, a simple way to find JavaScript keycodes., viewed 2023-03-26T05:12:50+00:00,<https://www.scien.cx/2010/12/07/whatkey-net-a-simple-way-to-find-javascript-keycodes/>
VANCOUVER
Posts on LINQ to Fail | Sciencx - » WhatKey.net, a simple way to find JavaScript keycodes. [Internet]. [Accessed 2023-03-26T05:12:50+00:00]. Available from: https://www.scien.cx/2010/12/07/whatkey-net-a-simple-way-to-find-javascript-keycodes/
CHICAGO
" » WhatKey.net, a simple way to find JavaScript keycodes." Posts on LINQ to Fail | Sciencx - Accessed 2023-03-26T05:12:50+00:00. https://www.scien.cx/2010/12/07/whatkey-net-a-simple-way-to-find-javascript-keycodes/
IEEE
" » WhatKey.net, a simple way to find JavaScript keycodes." Posts on LINQ to Fail | Sciencx [Online]. Available: https://www.scien.cx/2010/12/07/whatkey-net-a-simple-way-to-find-javascript-keycodes/. [Accessed: 2023-03-26T05:12:50+00:00]
rf:citation
» WhatKey.net, a simple way to find JavaScript keycodes | Posts on LINQ to Fail | Sciencx | https://www.scien.cx/2010/12/07/whatkey-net-a-simple-way-to-find-javascript-keycodes/ | 2023-03-26T05:12:50+00:00
https://github.com/addpipe/simple-recorderjs-demo