Michael Jumper
|
d4aabf013b
|
Assume space cap if blank (blank caps would otherwise not render, and IE trims the contents of XML tags, which breaks the OSK spacebar).
|
2012-03-25 13:37:16 -07:00 |
|
Michael Jumper
|
4c4b2de654
|
For OSK modifiers, call keydown/keyup events only on press, calling keydown if modifier activated, and keyup if modifier deactivated. Do not call keyup on release if key is a modifier.
|
2012-03-09 16:38:17 -08:00 |
|
Michael Jumper
|
108ca03420
|
Fix OSK to work in IE9+
|
2012-03-01 16:00:07 -08:00 |
|
Michael Jumper
|
e866dbcd1d
|
Only use classList.add() and classList.remove() if classList is supported.
|
2012-02-29 13:34:11 -08:00 |
|
Michael Jumper
|
8cc8ad9e5e
|
Handle events via addEventListener(). This solves an issue with touch events firing twice (they were firing once for bubble and once for capture). With addEventListener(), they fire once.
|
2012-01-24 22:56:53 -08:00 |
|
Michael Jumper
|
692186f0c9
|
Track pressed status of keys. Only release/press keys if not already in that status.
|
2012-01-23 15:24:35 -08:00 |
|
Michael Jumper
|
a25bf0f103
|
Add call for key events, refactor to onkeydown and onkeyup.
|
2012-01-23 15:14:47 -08:00 |
|
Michael Jumper
|
ff6ca004db
|
Round to nearest tenth, rather than integer.
|
2012-01-23 13:48:30 -08:00 |
|
Michael Jumper
|
08c3a8344a
|
Release key on mouse out.
|
2012-01-23 10:51:12 -08:00 |
|
Michael Jumper
|
5ca6a2cacf
|
Support for user-defined classes in keyboard XML.
|
2012-01-23 10:41:39 -08:00 |
|
Michael Jumper
|
aa5b07761e
|
Use pressed classname for pressed keys.
|
2012-01-23 10:04:27 -08:00 |
|
Michael Jumper
|
c210444fac
|
Track pressed state for modifiers globally. Do not track pressed state of non-modifiers.
|
2012-01-21 12:58:44 -08:00 |
|
Michael Jumper
|
53683c90d2
|
Only modifier states should toggle.
|
2012-01-21 12:53:59 -08:00 |
|
Michael Jumper
|
61fcf959b3
|
Toggle modifier pressed states.
|
2012-01-21 12:53:18 -08:00 |
|
Michael Jumper
|
7e6ad2d953
|
Initial version of onclick for keys, improved classes.
|
2012-01-21 12:06:43 -08:00 |
|
Michael Jumper
|
6149a33738
|
Better classname assignment for keycaps, restructure of keyboard (keyboard/key-container(s)/key/cap(s)).
|
2012-01-20 22:33:14 -08:00 |
|
Michael Jumper
|
2c0bee0890
|
Store caps by modifier in keys within central key array.
|
2012-01-20 13:57:32 -08:00 |
|
Michael Jumper
|
80795f656f
|
Resizable elements.
|
2012-01-19 15:05:53 -08:00 |
|
Michael Jumper
|
1a88b26c98
|
Improved placement and available classes.
|
2012-01-19 14:25:42 -08:00 |
|
Michael Jumper
|
7ddc68e707
|
Style key containers, add line-height.
|
2012-01-19 12:07:53 -08:00 |
|
Michael Jumper
|
eac5670487
|
Fixed style and positioning.
|
2012-01-19 11:47:41 -08:00 |
|
Michael Jumper
|
284932480c
|
Set key size, improve class names.
|
2012-01-19 11:22:49 -08:00 |
|
Michael Jumper
|
4482fc4530
|
Fixed parsing.
|
2012-01-19 11:19:02 -08:00 |
|
Michael Jumper
|
a8de72ac42
|
Refactor XML parse, use getElement() instead of overriding DOM.
|
2012-01-19 10:39:39 -08:00 |
|
Michael Jumper
|
d5b093023f
|
Fix errors in IE due to lack of textContent support.
|
2011-12-11 12:04:27 -08:00 |
|
Michael Jumper
|
935088d9d4
|
Relicensed as Mozilla/LGPL/GPL.
|
2011-12-04 17:15:18 -08:00 |
|
Michael Jumper
|
87387c5cb8
|
Code cleanup.
|
2011-10-11 15:31:01 -07:00 |
|
Michael Jumper
|
4b4f21e9ab
|
More JSDoc and cleanup.
|
2011-07-09 09:12:06 -07:00 |
|
Michael Jumper
|
3e65c46204
|
JSDoc + namespace, some cleanup.
|
2011-07-05 22:13:45 -07:00 |
|
Michael Jumper
|
098a521a4b
|
Initial commit
|
2011-01-22 22:08:14 -08:00 |
|