Bug 1026 - NEWT KeyEvent VK mapping for left and right sided keys
Summary: NEWT KeyEvent VK mapping for left and right sided keys
Status: UNCONFIRMED
Alias: None
Product: Newt
Classification: JogAmp
Component: core (show other bugs)
Version: 1
Hardware: All all
: --- enhancement
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2014-06-25 22:52 CEST by Xerxes Rånby
Modified: 2014-06-26 10:09 CEST (History)
1 user (show)

See Also:
Type: ---
SCM Refs:
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xerxes Rånby 2014-06-25 22:52:34 CEST
AWT KeyEvent have a concept of e.getKeyLocation() to help determine if you press left or right shift/control keys while NEWT API do not have this concept.

This bug suggest that we instead enhance the NEWT KeyEvents to add new VK key codes with _RIGHT suffix for the right shift and control key.

VK_CONTROL_RIGHT
Constant for the right sided CTRL function key.

VK_SHIFT_RIGHT
Constant for the right sided SHIFT function key.