-
Notifications
You must be signed in to change notification settings - Fork 1
Description
FORK (have not released the code yet)
the modified code has nothing to do with this its just the compiling itself:
$ make
FileSystem.cpp
main.cpp
C:/Users/jbsmi/Documents/SWITCH-UNBAN-RESEARCH/Lock-Logs/source/main.cpp: In function 'bool led_on()':
C:/Users/jbsmi/Documents/SWITCH-UNBAN-RESEARCH/Lock-Logs/source/main.cpp:88:42: error: 'hidGetHandheldMode' was not declared in this scope
88 | rc = hidsysGetUniquePadsFromNpad(hidGetHandheldMode() ? CONTROLLER_HANDHELD : CONTROLLER_PLAYER_1, UniquePadIds, 2, &total_entries);
| ^~~~~~~~~~~~~~~~~~
C:/Users/jbsmi/Documents/SWITCH-UNBAN-RESEARCH/Lock-Logs/source/main.cpp:88:65: error: 'CONTROLLER_HANDHELD' was not declared in this scope
88 | rc = hidsysGetUniquePadsFromNpad(hidGetHandheldMode() ? CONTROLLER_HANDHELD : CONTROLLER_PLAYER_1, UniquePadIds, 2, &total_entries);
| ^~~~~~~~~~~~~~~~~~~
C:/Users/jbsmi/Documents/SWITCH-UNBAN-RESEARCH/Lock-Logs/source/main.cpp:88:87: error: 'CONTROLLER_PLAYER_1' was not declared in this scope
88 | rc = hidsysGetUniquePadsFromNpad(hidGetHandheldMode() ? CONTROLLER_HANDHELD : CONTROLLER_PLAYER_1, UniquePadIds, 2, &total_entries);
| ^~~~~~~~~~~~~~~~~~~
C:/Users/jbsmi/Documents/SWITCH-UNBAN-RESEARCH/Lock-Logs/source/main.cpp:90:104: error: could not convert 'UniquePadIds[i]' from 'u64' {aka 'long unsigned int'} to 'HidsysUniquePadId'
90 | {for(i=0; i<total_entries; i++) { rc = hidsysSetNotificationLedPattern(&pattern, UniquePadIds[i]);}}
| ~~~~~~~~~~~~~~^
| |
| u64 {aka long unsigned int}
C:/Users/jbsmi/Documents/SWITCH-UNBAN-RESEARCH/Lock-Logs/source/main.cpp: In function 'int main(int, char**)':
C:/Users/jbsmi/Documents/SWITCH-UNBAN-RESEARCH/Lock-Logs/source/main.cpp:263:13: error: 'hidScanInput' was not declared in this scope
263 | hidScanInput();
| ^~~~~~~~~~~~
C:/Users/jbsmi/Documents/SWITCH-UNBAN-RESEARCH/Lock-Logs/source/main.cpp:264:33: error: 'CONTROLLER_P1_AUTO' was not declared in this scope
264 | u64 kDown = hidKeysDown(CONTROLLER_P1_AUTO);
| ^~~~~~~~~~~~~~~~~~
C:/Users/jbsmi/Documents/SWITCH-UNBAN-RESEARCH/Lock-Logs/source/main.cpp:264:21: error: 'hidKeysDown' was not declared in this scope
264 | u64 kDown = hidKeysDown(CONTROLLER_P1_AUTO);
| ^~~~~~~~~~~
C:/Users/jbsmi/Documents/SWITCH-UNBAN-RESEARCH/Lock-Logs/source/main.cpp:265:21: error: 'hidKeysHeld' was not declared in this scope
265 | u64 kHeld = hidKeysHeld(CONTROLLER_P1_AUTO);
| ^~~~~~~~~~~
C:/Users/jbsmi/Documents/SWITCH-UNBAN-RESEARCH/Lock-Logs/source/main.cpp:295:29: error: 'KEY_A' was not declared in this scope
295 | if (kDown & KEY_A)
| ^~~~~
C:/Users/jbsmi/Documents/SWITCH-UNBAN-RESEARCH/Lock-Logs/source/main.cpp:301:30: error: 'KEY_MINUS' was not declared in this scope
301 | if ((kDown & KEY_MINUS || kDown & KEY_PLUS) && (kHeld & KEY_MINUS && kHeld & KEY_PLUS))
| ^~~~~~~~~
C:/Users/jbsmi/Documents/SWITCH-UNBAN-RESEARCH/Lock-Logs/source/main.cpp:301:51: error: 'KEY_PLUS' was not declared in this scope
301 | if ((kDown & KEY_MINUS || kDown & KEY_PLUS) && (kHeld & KEY_MINUS && kHeld & KEY_PLUS))
| ^~~~~~~~
C:/Users/jbsmi/Documents/SWITCH-UNBAN-RESEARCH/Lock-Logs/source/main.cpp:308:29: error: 'KEY_B' was not declared in this scope
308 | if (kDown & KEY_B || kDown & KEY_Y || kDown & KEY_X)
| ^~~~~
C:/Users/jbsmi/Documents/SWITCH-UNBAN-RESEARCH/Lock-Logs/source/main.cpp:308:46: error: 'KEY_Y' was not declared in this scope
308 | if (kDown & KEY_B || kDown & KEY_Y || kDown & KEY_X)
| ^~~~~
C:/Users/jbsmi/Documents/SWITCH-UNBAN-RESEARCH/Lock-Logs/source/main.cpp:308:63: error: 'KEY_X' was not declared in this scope
308 | if (kDown & KEY_B || kDown & KEY_Y || kDown & KEY_X)