; --------------------------------------------------------------------------------------------------------------- MAP 0 ; keymap 0 (default keymap) ; --------------------------------------------------------------------------------------------------------------- ; Maps Esc key to also exit emulator in addition to F1 key ESCAPE QUIT ; Basic XBox Series X/S / XBox One / XBox Elite / XBox 360 Controller mapping (kbdhackfile) for Windows 10/11 ; For one player in most games that use the left controller ; XBox Series X/S controller Bluetooth or USB ; XBox One Model 1708 Bluetooth or USB - Other models USB only ; XBox Elite USB only ; XBox 360 with wireless adapter for Windows ; On XBox Series X/S Controllers, XBox One Controllers and XBox Elite Controllers... ; View is the left center button (Back in XBox 360) ; Middle center button if available is called Share (X/S) or Profile (Elite) and is not recognized in jzIntv ; Menu is the right center button (Start in XBox 360) ; XBox button behavior is unpredictable and is avoided ; --------------------------------------------------------------------------------------------------------------- ; ** Map the keyboard for the left controller ** ; Right side keypad keys KP1 PD0L_KP1 KP2 PD0L_KP2 KP3 PD0L_KP3 KP4 PD0L_KP4 KP5 PD0L_KP5 KP6 PD0L_KP6 KP7 PD0L_KP7 KP8 PD0L_KP8 KP9 PD0L_KP9 KP0 PD0L_KP0 KP_PERIOD PD0L_KPC KP_ENTER PD0L_KPE ; Left side button keys LSHIFT PD0L_A_T LALT PD0L_A_L LCTRL PD0L_A_R ; Left side of keyboard movement keys W PD0L_J_NW E PD0L_J_N R PD0L_J_NE S PD0L_J_W D PD0L_J_E Z PD0L_J_SW X PD0L_J_S C PD0L_J_SE ; Right side of keyboard movement keys (arrow keys) UP PD0L_D_N DOWN PD0L_D_S RIGHT PD0L_D_E LEFT PD0L_D_W ; ** L-Stick ** JS0_N PD0L_J_N JS0_NNE PD0L_J_NNE JS0_NE PD0L_J_NE JS0_ENE PD0L_J_ENE JS0_E PD0L_J_E JS0_ESE PD0L_J_ESE JS0_SE PD0L_J_SE JS0_SSE PD0L_J_SSE JS0_S PD0L_J_S JS0_SSW PD0L_J_SSW JS0_SW PD0L_J_SW JS0_WSW PD0L_J_WSW JS0_W PD0L_J_W JS0_WNW PD0L_J_WNW JS0_NW PD0L_J_NW JS0_NNW PD0L_J_NNW ; ** D-Pad remapped to copy L-stick ** JS0_HAT0_NW PD0L_D_NW JS0_HAT0_N PD0L_D_N JS0_HAT0_NE PD0L_D_NE JS0_HAT0_W PD0L_D_W JS0_HAT0_E PD0L_D_E JS0_HAT0_SW PD0L_D_SW JS0_HAT0_S PD0L_D_S JS0_HAT0_SE PD0L_D_SE ; ** Button and keypad controls ** JS0_BTN_06 PD0L_KP1 ; View / Back (360) (Keypad 1) JS0_BTN_07 PD0L_KP2 ; Menu / Start (360) (Keypad 2) JS0_BTN_08 PD0L_KP3 ; Left stick button (Keypad 3) JS0_BTN_09 PD0L_KP4 ; Right stick button (Keypad 4) JS0_BTN_04 PD0L_KPC ; Left bumper (Keypad Clear) JS0_BTN_05 PD0L_KPE ; Right bumper (Keypad Enter) JS0_BTN_00 PD0L_A_T ; A (Top buttons) JS0_BTN_02 PD0L_A_L ; X (Lower left button) JS0_BTN_01 PD0L_A_R ; B (Lower right button) JS0_BTN_03 PAUSE ; Y (Pause game) ADD_COMBO 0 JS0_BTN_06 JS0_BTN_07 ; View+Menu (Back+Start on 360) Quit (Returns to previous menu) COMBO0 QUIT ; ---------------------------------------------------------------------------------------------------------- ; Instructions below for getting the triggers to work are only for those willing ; to invest a lot of time and are not guaranteed to work ; XBox left and right trigger controls work only for jzIntv SDL1 for Windows. ; To use in Windows version of jzIntvImGui, copy SDL1 version of jzIntv to same folder ; as jzIntvImGui and select use external jzIntv in latest version of jzIntvImGui. ; The following lines must also be added as 3 separate parameters in jzIntvImGui: ; --js0a="xaxis=0,yaxis=1" ; --js0b="xaxis=3,yaxis=4" ; --js0c="xaxis=2,button" ; Alternatively, enter the following at the end of the [General] section in your jzIntvImGui.ini file: ; (Leave out the semi-colons at the beginning of the line) ; custom_command_1 = --js0a="xaxis=0,yaxis=1" ; custom_command_2 = --js0b="xaxis=3,yaxis=4" ; custom_command_3 = --js0c="xaxis=2,button" ; Then enter the following commands in your kbdhackfile config: ; (Take out semi-colons at the beginning of the line.) ; Examples are shown for Top buttons and Lower left button but can be used for keypad commands also. ; JS0C_E PD0L_A_T ; Left trigger - Top buttons ; JS0C_W PD0L_A_L ; Right trigger - Lower left button