| Summary: | Provide Event.keyLocation in RWT (added in SWT 3.6) | ||
|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Elias Volanakis <elias> |
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> |
| Status: | NEW --- | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | b.muskalla |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows Vista | ||
| Whiteboard: | |||
|
Description
Elias Volanakis
I doubt that it's possible to properly implement this, as there is no such information in browser dom event. I could imagine to implement this feature with "hardcoded" values like so: * usualley keyLocation is NONE, * for SHIFT, the keyLocation would always be LEFT * for numeric keys, the keyLocation would always be NONE as if there was no keypad * etc. DOM3 API already supports keyLocations (see http://www.w3.org/TR/2003/NOTE-DOM-Level-3-Events-20031107/events.html#Events-KeyboardEvent-keylocation ) I think using defaults for all other browsers would be sufficient. |