X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=input.h;h=b742119bb783c915cd1fc63b1c55256ccb36a683;hb=330eda0436ed73d6c68214fef8922904abe19422;hp=c66b7fb774e4a30cfe9f4477c09da15502aa4db2;hpb=ca1798f62b65b72703e960d132dd0170728b7709;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/input.h b/input.h index c66b7fb..b742119 100644 --- a/input.h +++ b/input.h @@ -18,6 +18,7 @@ enum sr_bind{ k_srbind_sit, k_srbind_use, k_srbind_reset, + k_srbind_dead_respawn, k_srbind_camera, k_srbind_mleft, k_srbind_mright, @@ -77,6 +78,8 @@ static vg_input_op *input_button_list[] = { }, [k_srbind_use] = INPUT_BASIC( SDLK_e, SDL_CONTROLLER_BUTTON_Y ), [k_srbind_reset] = INPUT_BASIC( SDLK_r, SDL_CONTROLLER_BUTTON_LEFTSHOULDER ), +[k_srbind_dead_respawn] = + INPUT_BASIC( SDLK_q, SDL_CONTROLLER_BUTTON_RIGHTSHOULDER ), [k_srbind_camera]= INPUT_BASIC( SDLK_c, SDL_CONTROLLER_BUTTON_RIGHTSHOULDER ), [k_srbind_mleft] = INPUT_BASIC( SDLK_LEFT, SDL_CONTROLLER_BUTTON_DPAD_LEFT ), [k_srbind_mright]= INPUT_BASIC( SDLK_RIGHT, SDL_CONTROLLER_BUTTON_DPAD_RIGHT ), @@ -108,7 +111,8 @@ static vg_input_op *input_button_list[] = { vg_gui_visible, 1, vg_joy_button, SDL_CONTROLLER_BUTTON_X, vg_end }, -[k_srbind_miniworld_teleport]= INPUT_BASIC( SDLK_r, SDL_CONTROLLER_BUTTON_X ), +[k_srbind_miniworld_teleport]= INPUT_BASIC( SDLK_q, + SDL_CONTROLLER_BUTTON_LEFTSHOULDER ), [k_srbind_max]=NULL };