Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] Multiple key press detection

Hi,

In SWT, when I registered SWT.KeyDown and SWT.KeyUp events like
shell.addListener (SWT.KeyDown, listener);
shell.addListener (SWT.KeyUp, listener);

SWT seems not to handle multiple simultaneous key press. This kind of simultaneous key press is very common for game apps. For example,  
when press down and hold one key, and press down and release another key, app only gets SWT.KeyUp event for the last key.
Is there a way to handle multiple key press?

Thanks.

Regards,
Yu


Back to the top