]> icculus.org git repositories - mikachu/openbox.git/blob - doc/python/keyboarddata.txt
pointer's variables are config vars
[mikachu/openbox.git] / doc / python / keyboarddata.txt
1 KeyboardData
2
3 ----
4
5 This document describes the 'KeyboardData' class, passed to functions bound to
6 keyboard events.
7
8 ----
9
10 Attributes
11
12 ----
13
14 keychain
15
16 The keychain (in the format that input.Keyboard.bind() expects them) that
17 was pressed.
18
19 ----
20
21 state
22
23 An integer bitmask of the modifiers pressed down when the key was pressed.
24
25 ----
26
27 keycode
28
29 An integer containing the keycode for the key that was pressed.
30
31 ----
32
33 press
34
35 True or False for if the event was a key press or a key release