# Sample hypinput.ini # All key options listed # Hypseus uses SDL2 Keycodes # # The first two entries are SDL2 keyboard codes or names (0 for "none") # # Find SDL2 keyboard code information here: # https://github.com/DirtBagXon/hypseus-singe/blob/master/doc/keylist.txt # # Hypseus Singe supports configuration on multiple joysticks # First joystick is defined as 0, second joystick as 1 etc. # # IMPORTANT: Find the joystick button and axis by running: # jstest /dev/input/js0 || jstest /dev/input/js1 # # The third number in config is a joystick button code (or 0 for "none") # Since 0 is reserved for special meaning, joystick button 0 is # identified as 1. Button 1 is identified as 2, and so on. # # Defining 001 (or 1) identifies first joystick(0) button 0 # Defining 111 identifies second joystick(1) button 10 # # The fourth number in config (if specified) is the joystick axis # configuration (or 0 for "none"). Since 0 is reserved for # special meaning, joystick axis 0 is identified as 1. # Axis 1 is identified as 2, and so on. # # Only the first four switches are defined (SWITCH_UP->SWITCH_RIGHT) for axis # # Defining -001 (or -1) identifies first joystick(0) axis 0 in negative direction # Defining +102 identifies second joystick(1) axis 1 in positive direction # KEY_BUTTON3 Turns scoreboard on/off in lair/ace # Key1 Key2 Button (Axis) [KEYBOARD] KEY_UP = SDLK_UP SDLK_r 5 -002 KEY_DOWN = SDLK_DOWN SDLK_f 7 +002 KEY_LEFT = SDLK_LEFT SDLK_d 8 -001 KEY_RIGHT = SDLK_RIGHT SDLK_g 6 +001 KEY_COIN1 = SDLK_5 0 1 KEY_COIN2 = SDLK_6 0 0 KEY_START1 = SDLK_1 0 4 KEY_START2 = SDLK_2 0 0 KEY_BUTTON1 = SDLK_LCTRL SDLK_a 14 KEY_BUTTON2 = SDLK_LALT SDLK_s 15 KEY_BUTTON3 = SDLK_SPACE SDLK_d 16 KEY_SKILL1 = SDLK_LSHIFT SDLK_w 0 KEY_SKILL2 = SDLK_z SDLK_i 0 KEY_SKILL3 = SDLK_x SDLK_k 0 KEY_SERVICE = SDLK_9 0 0 KEY_TEST = SDLK_F2 0 0 KEY_RESET = SDLK_0 0 0 KEY_SCREENSHOT = SDLK_F12 0 0 KEY_QUIT = SDLK_ESCAPE SDLK_q 17 KEY_PAUSE = SDLK_p 0 0 KEY_CONSOLE = SDLK_BACKSLASH 0 0 KEY_TILT = SDLK_t 0 0 END