diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-03-21 18:42:39 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-03-21 18:42:39 +0000 |
| commit | a52a6d96d701c993896f276e4198003317632aaf (patch) | |
| tree | be2f51e6a433d1fdf9a7c8248b343cb3f6297212 /python/keymap.py | |
| parent | a36c7543d4eedaa9e10bfd9f4d9b81279b1bb7e6 (diff) | |
rm the old code including the .pys and the c++ shit
Diffstat (limited to 'python/keymap.py')
| -rw-r--r-- | python/keymap.py | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/python/keymap.py b/python/keymap.py deleted file mode 100644 index 569dc92b..00000000 --- a/python/keymap.py +++ /dev/null @@ -1,17 +0,0 @@ -from input import Keyboard - -def set(map): - """Set your keymap""" - global _map - Keyboard.clearBinds() - for key, func in map: - Keyboard.bind(key, run) - _map = map - -def run(keydata, client): - """Run a key press event through the keymap""" - for key, func in _map: - if (keydata.keychain == key): - func(keydata, client) - -_map = () |
