fixed left and right key config (thanks to Arakun for finding the bugged code)

This commit is contained in:
gecko_reverse 2009-01-31 04:20:53 +00:00
parent bf054c32ed
commit 98528a75a7
2 changed files with 4 additions and 1 deletions

View File

@ -8,6 +8,9 @@ Graphics:
bug: fix thumb ROR [zeromus]
bug: win32: fix spu wav file writer (regression from 0.8) [zeromus]
enh: dont memcmp for texcache validity when the texture banks arent unmapping [zeromus]
Mac OS X Port:
bug: left key setting no longer gets confused with the right key [jeff]
0.8 -> 0.9
There have been so many changes that this list can hardly be considered complete.

View File

@ -120,7 +120,7 @@ inline int testKey(NSString *chars_pressed, NSString *chars_for_key)
[NSArray arrayWithObjects:@"Dictionary", [NSData dataWithBytes:&@selector(bindingForKeyR:) length:sizeof(SEL)], keyboardMap , nil] , PREF_KEY_R,
[NSArray arrayWithObjects:@"Dictionary", [NSData dataWithBytes:&@selector(bindingForKeyUp:) length:sizeof(SEL)], keyboardMap , nil] , PREF_KEY_UP,
[NSArray arrayWithObjects:@"Dictionary", [NSData dataWithBytes:&@selector(bindingForKeyDown:) length:sizeof(SEL)], keyboardMap , nil] , PREF_KEY_DOWN,
[NSArray arrayWithObjects:@"Dictionary", [NSData dataWithBytes:&@selector(bindingForKeyLeft:) length:sizeof(SEL)], keyboardMap , nil] , PREF_KEY_RIGHT,
[NSArray arrayWithObjects:@"Dictionary", [NSData dataWithBytes:&@selector(bindingForKeyLeft:) length:sizeof(SEL)], keyboardMap , nil] , PREF_KEY_LEFT,
[NSArray arrayWithObjects:@"Dictionary", [NSData dataWithBytes:&@selector(bindingForKeyRight:) length:sizeof(SEL)], keyboardMap , nil] , PREF_KEY_RIGHT,
[NSArray arrayWithObjects:@"Dictionary", [NSData dataWithBytes:&@selector(bindingForKeyStart:) length:sizeof(SEL)], keyboardMap , nil] , PREF_KEY_START,
[NSArray arrayWithObjects:@"Dictionary", [NSData dataWithBytes:&@selector(bindingForKeySelect:) length:sizeof(SEL)], keyboardMap , nil] , PREF_KEY_SELECT,