diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-03-16 21:11:39 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-03-16 21:11:39 +0000 |
| commit | f8a47de5ec444c452093371e3db16857eb39a490 (patch) | |
| tree | 31db2567842d98232775f9980f7a8d2586c0ac71 /doc/python/keyboarddata.txt | |
| parent | 8ba0586bcbdc7fe9648f1063812126d71a041670 (diff) | |
merge the C branch into HEAD
Diffstat (limited to 'doc/python/keyboarddata.txt')
| -rw-r--r-- | doc/python/keyboarddata.txt | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/doc/python/keyboarddata.txt b/doc/python/keyboarddata.txt new file mode 100644 index 00000000..4be55884 --- /dev/null +++ b/doc/python/keyboarddata.txt @@ -0,0 +1,35 @@ +KeyboardData + +---- + +This document describes the 'KeyboardData' class, passed to functions bound to +keyboard events. + +---- + +Attributes + +---- + +keychain + +The keychain (in the format that input.Keyboard.bind() expects them) that +was pressed. + +---- + +state + +An integer bitmask of the modifiers pressed down when the key was pressed. + +---- + +keycode + +An integer containing the keycode for the key that was pressed. + +---- + +press + +True or False for if the event was a key press or a key release |
