|
Bug in Mac OS X keyboard code? |
Michael Faerber
Member #4,800
July 2004
|
Hi! I've tested a program of mine on a Mac now, and it seems that Allegro detects keypresses on KEY_MINUS_PAD as KEY_PLUS_PAD keypresses. Going through the source for Mac OS X, I found this (in keybd.m):
I found out that KEY_PLUS_PAD occured twice in the code, while KEY_MINUS_PAD wasn't existant at all. Could somebody have a look and see if it's fixed already, or could you make a fix yourself? -- |
Evert
Member #794
November 2000
|
Which of the two needs to be changed? |
Peter Hull
Member #1,136
March 2001
|
It's actually rather hard to find an official list on apple.com; I had to resort to the information in this thread. It's the second one that's wrong, 0x45 is +, 0x4e is - Diff attached; could you test it? Pete
|
Michael Faerber
Member #4,800
July 2004
|
I can't because I don't have access to a Mac at the moment. -- |
|