Changeset 54:fb6a875ea5d2 in xplra for test/hotkeytest.py
- Timestamp:
- 02/16/13 18:04:17 (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/hotkeytest.py
r53 r54 21 21 xplane.registerHotkeys([0x0241, 0x0142, 0x0343, 0x0251]) 22 22 print "Registered hotkeys..." 23 print 23 24 24 25 print "Listening to hotkeys..." … … 45 46 print ">>>>>>>>>>>>>>>>>>>>>> Exception caught:", str(e) 46 47 finally: 48 xplane.unregisterHotkeys() 47 49 xplane.disconnect()
Note:
See TracChangeset
for help on using the changeset viewer.