Compiles on dolphin, finally
All checks were successful
Build Dusk / run-tests (push) Successful in 1m39s
Build Dusk / build-linux (push) Successful in 1m34s
Build Dusk / build-psp (push) Successful in 2m7s
Build Dusk / build-dolphin (push) Successful in 1m48s

This commit is contained in:
2026-02-08 19:30:02 -06:00
parent ef25fb09da
commit 13c4df0d85
18 changed files with 84 additions and 84 deletions

View File

@@ -33,13 +33,13 @@ with open(args.csv, newline="", encoding="utf-8") as csvfile:
# For each ID, create enum entry.
count = 0
outHeader += "typedef enum {\n"
outHeader += f" INPUT_ACTION_NULL = {count},\n\n"
outHeader += f" INPUT_ACTION_NULL = 0x{count:x},\n\n"
count += 1
for inputId in inputIds:
inputIdValues[inputId] = count
outHeader += f" {csvIdToEnumName(inputId)} = {count},\n"
outHeader += f" {csvIdToEnumName(inputId)} = 0x{count:x},\n"
count += 1
outHeader += f"\n INPUT_ACTION_COUNT = {count}\n"
outHeader += f"\n INPUT_ACTION_COUNT = 0x{count:x}\n"
outHeader += "} inputaction_t;\n\n"
# Write IDs to char array.