mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Use same key limit as SDL2 does
This commit is contained in:
parent
a089d3d36d
commit
cc1f80471b
|
@ -47,7 +47,7 @@ print >>f, "\tKEY_MOUSE_8 = %d,"%(highestid+8); keynames[highestid+8] = "mouse8"
|
|||
print >>f, "\tKEY_MOUSE_WHEEL_UP = %d,"%(highestid+9); keynames[highestid+9] = "mousewheelup"
|
||||
print >>f, "\tKEY_MOUSE_WHEEL_DOWN = %d,"%(highestid+10); keynames[highestid+10] = "mousewheeldown"
|
||||
print >>f, "\tKEY_MOUSE_9 = %d,"%(highestid+11); keynames[highestid+11] = "mouse9"
|
||||
print >>f, "\tKEY_LAST,"
|
||||
print >>f, "\tKEY_LAST = 512,"
|
||||
|
||||
print >>f, "};"
|
||||
print >>f, ""
|
||||
|
|
|
@ -259,7 +259,7 @@ enum
|
|||
KEY_MOUSE_WHEEL_UP = 293,
|
||||
KEY_MOUSE_WHEEL_DOWN = 294,
|
||||
KEY_MOUSE_9 = 295,
|
||||
KEY_LAST,
|
||||
KEY_LAST = 512,
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue