Summary: | Support to get and set keyboard key state | ||
---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Dani Megert <daniel_megert> |
Component: | SWT | Assignee: | Felipe Heidrich <eclipse.felipe> |
Status: | NEW --- | QA Contact: | |
Severity: | enhancement | ||
Priority: | P3 | CC: | bradleyjames, chandrayya.gk, cocoakevin, d_a_carver, gorkem.ercan, karel.brezina, KetanPadegaonkar, markus.kell.r, pwebster, s.wende, sizaki, steve_northover, tlroche |
Version: | 3.0 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Dani Megert
2004-08-06 03:50:47 EDT
FH and SN to look into this. Setting and getting the keyboard state on non- Windows platforms is problematic. Perhaps we could just support querying the NumLock and ScrollLock state. This is similar to bug 74736, which asks for a way to get the current state of modifier keys (ctrl, alt, and shift). caps lock is another interesting case. Here's my usecase: I need to be able to type the text 'Hello World' using the automation api. In order to type 'H', I need to be able to decide whether I should be holding the shift key down(or not) based on the state of the CAPS key. This is a blocker for swtbot to be able to use the new automation api that the swt team is providing. Raising severity and version number to 3.5 Steve, this will require new API. Note: at this point we will need PMC approval to add any new API for Eclipse 3.5 We can set warning control decorator to password text filed if CAP LOCK is ON. |