mirror of
https://github.com/libretro/RetroArch.git
synced 2026-11-10 17:27:30 -10:00
- 3DS: the console's own controls are a pad on port 0, held or not. It answered from the buttons held, so an idle 3DS had no pad and while anything was held all sixteen ports had one. - Original Xbox: query_pad, the name and the axis read are bounded by the four ports the console has; ports past them read past the driver's arrays. - DOS: the driver reads no pad, so no port has one; it answered yes for all sixteen. Its button read fetched the keyboard state for nothing and is now the zero it always returned. samples/input/ctr_joypad and samples/input/dos_joypad are new lanes, and xdk_joypad checks the ports past the fourth. The 3DS stubs gain libctru's HID and C-stick declarations, with types.h owning the shared scalar names.