Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Javascript cross-browser input layer

I'm making a web application that uses the keyboard quite extensively. I notice that the builtin browser event handling is inconsistent across browsers, and jQuery does not normalize very well (eg. Firefox sends a keypress for backspace, chrome doesn't). I'm wondering if there is a javascript library that normalizes these idiosyncrasies and presents a uniform interface to keyboard event handling.

like image 635
luqui Avatar asked Jun 19 '11 18:06

luqui


1 Answers

Here are a couple:

http://habrahabr.ru/blogs/jquery/76424/

http://www.openjs.com/scripts/events/keyboard_shortcuts/

http://wiki.fluidproject.org/display/fluid/Keyboard+Accessibility+Plugin+API

Note that the first is in Russian, but Google Translate does a good job of translating it. translate.google.com

I haven't tried any of them, but haven't seen anyone else suggest anything. Hopefully that gives you a starting point. Good luck!

like image 74
Calvin Froedge Avatar answered Nov 17 '22 21:11

Calvin Froedge