Changeset 425:fc6aec5ffc8f


Ignore:
Timestamp:
02/16/13 16:47:26 (12 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
xplane
Phase:
public
Message:

The hotkey data is now returned as a list of booleans

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/xplane.py

    r424 r425  
    11241124        hotkeysPressed = []
    11251125        for i in range(0, len(data)):
    1126             if data[i]!=0:
     1126            if data[i]:
    11271127                hotkeysPressed.append(i)
    11281128
Note: See TracChangeset for help on using the changeset viewer.