Browse Source

Add support fro 3DS C-stick

pull/3516/head
Stephen C. Wills 4 years ago committed by GitHub
parent
commit
53df211881
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      CMake/ctr/n3ds_defs.cmake
  2. 1
      docs/manual/platforms/3ds.md

4
CMake/ctr/n3ds_defs.cmake

@ -22,9 +22,11 @@ set(SDL1_VIDEO_MODE_BPP 8)
set(DEFAULT_WIDTH 800)
set(DEFAULT_HEIGHT 480)
#SDL Joystick axis mapping (circle-pad)
#SDL Joystick axis mapping (circle-pad/C-stick)
set(JOY_AXIS_LEFTX 0)
set(JOY_AXIS_LEFTY 1)
set(JOY_AXIS_RIGHTX 3)
set(JOY_AXIS_RIGHTY 4)
#SDL Joystick hat mapping (D-pad)
set(JOY_HAT_DPAD_UP_HAT 0)
set(JOY_HAT_DPAD_RIGHT_HAT 0)

1
docs/manual/platforms/3ds.md

@ -27,6 +27,7 @@ Installation instructions can be found on the [Installing](/docs/installing.md)
* Start + X: toggle zoom
* Select + D-Pad: move automap or simulate mouse
* Select + A/B/X/Y: Spell hotkeys
* C-stick: move automap or simulate mouse
* Select + ZL: quest log (alt: Start + Y)
* Select + ZR: spell book (alt: Start + B)

Loading…
Cancel
Save