mirror of
https://github.com/joel16/SDL2.git
synced 2024-12-13 22:38:34 +00:00
Detect more types of IMPS/2 mouse
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40105
This commit is contained in:
parent
f9c31c72f1
commit
f4969ff561
@ -482,7 +482,7 @@ static int detect_imps2(int fd)
|
||||
#ifdef DEBUG_MOUSE
|
||||
fprintf(stderr, "Last mouse mode: 0x%x\n", ch);
|
||||
#endif
|
||||
if ( ch == 3 ) {
|
||||
if ( (ch == 3) || (ch == 4) ) {
|
||||
imps2 = 1;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user