mirror of
https://github.com/encounter/Decrypt9.git
synced 2026-03-30 11:06:30 -07:00
c663aca7cb
Supports arrow key navigation, a main menu and up to 8 entries per submenu now.
11 lines
203 B
C
11 lines
203 B
C
#include "hid.h"
|
|
|
|
u32 InputWait() {
|
|
u32 pad_state_old = HID_STATE;
|
|
while (true) {
|
|
u32 pad_state = HID_STATE;
|
|
if (pad_state ^ pad_state_old)
|
|
return ~pad_state;
|
|
}
|
|
}
|