Futher restrict gear changes to prevent mis-selection when playing
with thumbstick.

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3711 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: d6f0921fd456a162b4bc3a68353c69d6a0f9f019
Former-commit-id: cd7f5d586d228ba03216a8421693232c14dd3234
This commit is contained in:
mungewell 2011-07-06 08:15:00 +00:00
parent eca5a32aa3
commit a3dba0960a

View file

@ -107,12 +107,12 @@ static int NbDrivers = -1;
// prevents mis-selection with thumbstick
// Note 'N' selectable from any gear from ..... 654321NR ... to :
const static int hboxChanges[] = { 0x02, // 0b00000010, // R
0x2B, // 0b00101011, // 1
0x57, // 0b01010111, // 2
0xAA, // 0b10101010, // 3
0x0B, // 0b00001011, // 1
0x17, // 0b00010111, // 2
0x2A, // 0b00101010, // 3
0x52, // 0b01010010, // 4
0xA2, // 0b10100010, // 5
0x52 // 0b01010010 // 6
0x42 // 0b01000010 // 6
};
#ifdef _WIN32