Use same key limit as SDL2 does

This commit is contained in:
def 2015-08-26 17:21:47 +02:00
parent a089d3d36d
commit cc1f80471b
2 changed files with 2 additions and 2 deletions

View file

@ -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, ""

View file

@ -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