Introduce DEVICE_ID_ANY, update operator == for KeyDef to match

This commit is contained in:
Jonas Höglund committed 2015-08-29 21:52:53 +02:00
1 parent a57a838c93
commit 5f2f9160f8
2 files changed
+3 -1

No files matched your search

+1
View File
@@ -4,6 +4,7 @@
const char *GetDeviceName(int deviceId) {
switch (deviceId) {
case DEVICE_ID_ANY: return "any";
case DEVICE_ID_DEFAULT: return "built-in";
case DEVICE_ID_KEYBOARD: return "kbd";
case DEVICE_ID_PAD_0: return "pad1";