Gets the location of a key on the keyboard or device.
HRESULT value = object.get_location(unsigned long* p);
Type: unsigned long
The key is not on the right or left, and it did not originate from the numeric keypad (for example, the Q key).
A left key was activated (for example, the left Shift key).
A right key was activated (for example, the right Shift key).
The key originated on the numeric keypad (for example, the 1 key on the numeric keypad).
The key originated on the physical or virtual keyboard of a mobile device.
The key originated on a game controller or joystick.
- Document Object Model (DOM) Level 3 Events Specification, Section 5.2.6
Build date: 11/12/2012