Changeset 54:fb6a875ea5d2 in xplra for test/hotkeytest.py


Ignore:
Timestamp:
02/16/13 18:04:17 (11 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Added support for the hotkey functions in the C++ client and a test program as well

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/hotkeytest.py

    r53 r54  
    2121        xplane.registerHotkeys([0x0241, 0x0142, 0x0343, 0x0251])
    2222        print "Registered hotkeys..."
     23        print
    2324
    2425        print "Listening to hotkeys..."
     
    4546        print ">>>>>>>>>>>>>>>>>>>>>> Exception caught:", str(e)
    4647    finally:
     48        xplane.unregisterHotkeys()
    4749        xplane.disconnect()
Note: See TracChangeset for help on using the changeset viewer.