|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#6
|
|||||
|
|||||
|
Re: Programming joysticks
So the bit masks are:
Code:
const unsigned char Hat_None = 0x2C; const unsigned char Hat_Up = 0xFC; const unsigned char Hat_Left = 0x60; const unsigned char Hat_Right = 0xC0; const unsigned char Hat_Down = 0x94; //Unless values are off, Combos aren't OR'ed const unsigned char Hat_Up_Left = 0xFC; const unsigned char Hat_Up_Right = 0xFC; const unsigned char Hat_Down_Left = 0xA4; const unsigned char Hat_Down_Right = 0xD4; ![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Programming Compatition | Angela06 | Programming | 30 | 08-04-2005 23:12 |
| Could use some help with joysticks . . . | archiver | 2001 | 5 | 23-06-2002 23:36 |
| Pneumatics electrical wiring and programming | archiver | 2001 | 1 | 23-06-2002 23:10 |
| Calibrating speed controllers and joysticks | thedillybar | Technical Discussion | 4 | 11-02-2002 13:24 |
| pbasic programming | punarhero | Programming | 4 | 21-01-2002 23:32 |