port: fit the CK_ enum back into 32 bits

This commit is contained in:
fgsfds committed 2023-10-22 14:45:58 +02:00
1 parent d1817aaea6
commit f638d49693
2 files changed
+8 -16

No files matched your search

+4 -8
View File
@@ -59,10 +59,10 @@ enum contkey {
CK_ZTRIG,
CK_B,
CK_A,
CK_0001,
CK_0002,
CK_0004,
CK_0008,
CK_STICK_XNEG,
CK_STICK_XPOS,
CK_STICK_YNEG,
CK_STICK_YPOS,
CK_0010,
CK_0020,
CK_0040,
@@ -75,10 +75,6 @@ enum contkey {
CK_2000,
CK_4000,
CK_8000,
CK_STICK_XNEG,
CK_STICK_XPOS,
CK_STICK_YNEG,
CK_STICK_YPOS,
CK_TOTAL_COUNT
};
+4 -8
View File
@@ -73,10 +73,10 @@ static const char *ckNames[CK_TOTAL_COUNT] = {
"Z_TRIG",
"B_BUTTON",
"A_BUTTON",
"CK_0001",
"CK_0002",
"CK_0004",
"CK_0008",
"STICK_XNEG",
"STICK_XPOS",
"STICK_YNEG",
"STICK_YPOS",
"CK_0010",
"CK_0020",
"CK_0040",
@@ -89,10 +89,6 @@ static const char *ckNames[CK_TOTAL_COUNT] = {
"CK_2000",
"CK_4000",
"CK_8000"
"STICK_XNEG",
"STICK_XPOS",
"STICK_YNEG",
"STICK_YPOS",
};
static const char *vkPunctNames[] = {