a class to read information about the keyboard
a class to read information about the keyboard. It uses XQueryKeymap to read state of keyboard. So a X11 window must be opened before to use it. This class allows keyboard to send Messages too. A message has two fields:
- keys: number of keys
- pressed: 0 eq no pressed 1 eq pressed
Let explain the protocol:
Key UP 100
Key DOWN 101
Key RIGHT 102
Key LEFT 103
Key ENTER 105
Alphabetic index HTML hierarchy of classes or Java