# wiiboot's keys: each Wii Remote button, then the keys and mouse buttons that press it.
# Keys by SDL's names (https://wiki.libsdl.org/SDL3/SDL_Scancode): A..Z, 0..9, Return,
# Space, Tab, Backspace, Left Shift, Up, Down, Left, Right, Keypad Enter, F1..F10...
# Mouse buttons: Mouse Left, Mouse Right, Mouse Middle, Mouse X1, Mouse X2; Drag Left, Drag Right,
# Drag Middle: the button held and the mouse moving fast (a swing: Shake = Drag Left).
# Fixed: Esc (pause; the pause box where a port has no menu of its own), F11 and Alt+Enter (fullscreen), F12 (trace a frame's GX commands). Delete the file for the defaults.
A     = Return, Keypad Enter, Mouse Left
B     = Backspace, Mouse Right
Up    = W, Up
Down  = S, Down
Left  = A, Left
Right = D, Right
Plus  = Tab
Minus = Q
1     = 1
2     = 2
Shake = Space, Mouse Middle

[Classic Controller]
# For a game that plays with the Classic Controller: its buttons and sticks on keys and mouse buttons.
# A gamepad is a Classic Controller too, on the channels in the order the pads are plugged in. Channel 1
# takes the keys, the mouse and the first pad at once (Input = Pad or Keyboard: only one of them;
# wiiboot --input says the same).
# The pad: its triggers are ZL and ZR, its shoulders L and R, Start +, Back -, its guide button Home.
# Face Buttons = Position: the right one is A, the bottom one B, the top one X, the left one Y (the
# Classic's own layout); Label: the button labelled A (Cross) is A, B (Circle) B, X (Square) X, Y (Triangle) Y.
# Dead Zone: how far the pad's sticks move before they count, of their travel.
Input        = Auto
Face Buttons = Position
Dead Zone    = 0.15
# GoldenEye's default Classic layout ("Goldfinger Pro"), as the game answers to it: ZR fires, ZL aims
# down the sight, L is the melee attack, R throws a grenade, a crouches, b is the action, y
# reloads, x cycles grenades, D-pad left and right cycle weapons (the mouse wheel does too), up is the
# firing mode, down the smartphone, - night vision and the scoreboard, + pauses (Esc does too).
# With the smartphone out, ZR (the left mouse button) takes the picture or hacks, as b does.
# Sprint is on a key of its own here, Extra 1 (a pad's left stick pressed in); on the Wii it's b as well.
# Extra 3, 4 and 5 take out the weapon in slot 1, 2 and 3, when there is one.
# Extra 6 is the jump for bunnyhopping (F1 > For Fun).
# In menus (and the pause menu) a selects and b goes back; there the port also takes ZR as a and ZL as
# b, so the left mouse button selects and the right one goes back.
A     = Left Ctrl, Return
B     = E, Backspace
X     = T
Y     = R
L     = F, V, Mouse X1
R     = G, Mouse X2
ZL    = Mouse Right
ZR    = Mouse Left
Plus  = P
Minus = Tab
Home  = H
Up    = Up, B
Down  = Down, Q
Left  = Left
Right = Right
Left Stick Up    = W
Left Stick Down  = S
Left Stick Left  = A
Left Stick Right = D
Right Stick Up    =
Right Stick Down  =
Right Stick Left  =
Right Stick Right =
Extra 1 = Left Shift
Extra 3 = 1
Extra 4 = 2
Extra 5 = 3
Extra 6 = Space
