|
From: Pascal B. <pa...@dy...> - 2000-12-10 20:24:24
|
Damn, didn't know about this line being possible: String.fromCharCode(this.which).toLowerCase() Great work! Mind if I include it into Dynacore aswell :-) cheers, Pascal Bestebroer pa...@dy... http://www.dynamic-core.net -----Oorspronkelijk bericht----- Van: dyn...@li... [mailto:dyn...@li...]Namens Henrik Våglin Verzonden: zondag 10 december 2000 19:59 Aan: dyn...@li... Onderwerp: [Dynapi-Dev] DynAPI2 Ke(board) events Hello developers I have put together a keyevents extension for DynAPI2 - as of release 2000.11.07, which is the latest official to my knowledge. I've made it for a project called ComicCreation, which is the project I'm working on implementing the DynAPI2 into. The keyevents are meant to be the same type of alternative UI functionality to mouseevents as keyboard shortcuts is to mousemanouveres in regular applications (windowbased interfaces). They should be essential for the serious webapp developer, who takes care of the fact that sometimes users rather uses the keyboard or simply don't have a mouse but still need a way to reach the feature (without hazzle). If no other, most developers are more often to use the keyboard than the mouse - so probably for most in here. Now, I set the ALT key to be working as controller key, since using single keys are already assigned for text input. I chose to limit one key as the only valid modifier, since I'm aware that too many key-combos are already assigned to application functionality. I'm far from sure this is a wise choice though, since I've got a hunch that ALT-combos won't work in every enviroment either. If somebody have any experience or would care to try out what modifier key works crossbrowser on different systems I'd most apprieate to be notified so that I can set the correct controller key or combo for char keys to work as function keys. thanks all for your time and efforts with dynAPI Henrik Våglin |