-
-
Notifications
You must be signed in to change notification settings - Fork 100
Steam Input API core support #1695
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
9c723da
6859ab8
0a13193
d6d88e9
57e5cbd
c82ecbe
af30273
bf5482d
36f75cb
645f108
86e0406
7a1034c
db87ec2
993a7ef
6488141
26619b9
9b13b63
32c6e9e
cff5332
ffbbac3
2e7aa7f
dcb8364
5d08d26
f152889
5d3c690
dcf7932
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,167 @@ | ||
| "In Game Actions" | ||
| { | ||
| "actions" | ||
| { | ||
| "InGameControls" | ||
| { | ||
| "title" "#Set_Ingame" | ||
| "StickPadGyro" | ||
| { | ||
| "move" | ||
| { | ||
| "title" "#Action_Move" | ||
| "input_mode" "joystick_move" | ||
| } | ||
| "camera" | ||
| { | ||
| "title" "#Action_Camera" | ||
| "input_mode" "absolute_mouse" | ||
| } | ||
| "pie_cursor" | ||
| { | ||
| "title" "#Action_PieCursor" | ||
| "input_mode" "joystick_move" | ||
| } | ||
| } | ||
| "Button" | ||
| { | ||
| "primary" "#Action_Primary" | ||
| "secondary" "#Action_Secondary" | ||
| "reload" "#Action_Reload" | ||
| "use" "#Action_Use" | ||
| "jump" "#Action_Jump" | ||
| "walk" "#Action_Walk" | ||
| "crouch" "#Action_Crouch" | ||
| "special" "#Action_Special" | ||
| "drop" "#Action_Drop" | ||
| "affinity" "#Action_Affinity" | ||
| "dash" "#Action_Dash" | ||
|
|
||
| "next_weapon" "#Action_NextWeapon" | ||
| "previous_weapon" "#Action_PreviousWeapon" | ||
| "primary_weapon" "#Action_PrimaryWeapon" | ||
| "secondary_weapon" "#Action_SecondaryWeapon" | ||
| "last_weapon" "#Action_LastWeapon" | ||
| "claw" "#Action_Claw" | ||
| "pistol" "#Action_Pistol" | ||
| "sword" "#Action_Sword" | ||
| "shotgun" "#Action_Shotgun" | ||
| "smg" "#Action_SMG" | ||
| "flamer" "#Action_Flamer" | ||
| "plasma" "#Action_Plasma" | ||
| "zapper" "#Action_Zapper" | ||
| "rifle" "#Action_Rifle" | ||
| "corroder" "#Action_Corroder" | ||
| "grenade" "#Action_Grenade" | ||
| "mine" "#Action_Mine" | ||
| "rocket" "#Action_Rocket" | ||
| "minigun" "#Action_Minigun" | ||
| "jetsaw" "#Action_Jetsaw" | ||
| "melee" "#Action_Melee" | ||
| "wheel_select" "#Action_WheelSelect" | ||
| "change_loadout" "#Action_ChangeLoadout" | ||
|
|
||
| "scoreboard" "#Action_Scoreboard" | ||
| "suicide" "#Action_Suicide" | ||
| "menu" "#Action_Menu" | ||
|
|
||
| "recenter_camera" "#Action_RecenterCamera" | ||
|
|
||
| } | ||
| } | ||
| "MenuControls" | ||
| { | ||
| "title" "#Set_Menu" | ||
| "StickPadGyro" | ||
| { | ||
| "menu_cursor" | ||
| { | ||
| "title" "#Menu_Cursor" | ||
| "input_mode" "absolute_mouse" | ||
| } | ||
| } | ||
| "AnalogTrigger" | ||
| { | ||
| } | ||
| "Button" | ||
| { | ||
| "menu_select" "#Menu_Select" | ||
| "menu_cancel" "#Menu_Cancel" | ||
| "menu_scroll_up" "#Menu_ScrollUp" | ||
| "menu_scroll_down" "#Menu_ScrollDown" | ||
| } | ||
| } | ||
| "EditingControls" | ||
| { | ||
| "title" "#Set_Editing" | ||
| "StickPadGyro" | ||
| { | ||
| } | ||
| "AnalogTrigger" | ||
| { | ||
| } | ||
| "Button" | ||
| { | ||
| } | ||
| } | ||
| } | ||
| "localization" | ||
| { | ||
| "english" | ||
| { | ||
| "Set_Ingame" "In-Game Controls" | ||
|
|
||
| "Action_Move" "Move" | ||
| "Action_Camera" "Camera" | ||
| "Action_PieCursor" "Pie Cursor" | ||
| "Action_Primary" "Primary Fire" | ||
| "Action_Secondary" "Secondary Fire" | ||
| "Action_Reload" "Reload" | ||
| "Action_Use" "Use/Pick Up" | ||
| "Action_Jump" "Jump" | ||
| "Action_Walk" "Walk" | ||
| "Action_Crouch" "Crouch" | ||
| "Action_Special" "Special" | ||
| "Action_Drop" "Drop Weapon" | ||
| "Action_Affinity" "Drop Affinity" | ||
| "Action_Dash" "Dash" | ||
| "Action_NextWeapon" "Next Weapon" | ||
| "Action_PreviousWeapon" "Previous Weapon" | ||
| "Action_PrimaryWeapon" "Primary Weapon" | ||
| "Action_SecondaryWeapon" "Secondary Weapon" | ||
| "Action_LastWeapon" "Last Weapon" | ||
| "Action_Claw" "Claw Attack" | ||
| "Action_Pistol" "Sidearm Pistol" | ||
| "Action_Sword" "Energy Sword" | ||
| "Action_Shotgun" "Super Shotgun" | ||
| "Action_SMG" "Submachine Gun" | ||
| "Action_Flamer" "Flame Thrower" | ||
| "Action_Plasma" "Plasma Inductor" | ||
| "Action_Zapper" "Electro Zapper" | ||
| "Action_Rifle" "Laser Rifle" | ||
| "Action_Corroder" "Corrosion Cannon" | ||
| "Action_Grenade" "Frag Grenade" | ||
| "Action_Mine" "Shock Mine" | ||
| "Action_Rocket" "Rocket Launcher" | ||
| "Action_Minigun" "Heavy Minigun" | ||
| "Action_Jetsaw" "Jet Chainsaw" | ||
| "Action_Melee" "Eclipse Rod" | ||
| "Action_WheelSelect" "Wheel Select" | ||
| "Action_ChangeLoadout" "Change Loadout" | ||
| "Action_Scoreboard" "Scoreboard" | ||
| "Action_Suicide" "Suicide" | ||
| "Action_Menu" "Menu" | ||
|
|
||
| "Action_RecenterCamera" "Recenter Camera" | ||
|
|
||
| "Set_Menu" "Menu Controls" | ||
| "Menu_Cursor" "Move Cursor" | ||
| "Menu_Select" "Select" | ||
| "Menu_Cancel" "Cancel/Return" | ||
| "Menu_ScrollUp" "Scroll Up" | ||
| "Menu_ScrollDown" "Scroll Down" | ||
|
|
||
| "Set_Editing" "Editing Mode Controls" | ||
| } | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -131,6 +131,49 @@ bind K [ suicide ] | |
|
|
||
| bind TAB [ showscores ] | ||
|
|
||
| // Steam Input controller binds; these actions _should not be rebound_ - do it | ||
| // through the Steam Input configuration interface | ||
| bind SIAPI_PRIMARY [ primary ] | ||
| specbind SIAPI_PRIMARY [ spectate 0 ] | ||
| bind SIAPI_SECONDARY [ secondary ] | ||
| specbind SIAPI_SECONDARY [ spectate 0 ] | ||
| bind SIAPI_WHEEL_SELECT [ game_hud_piemenu_open_weapsel_key ] | ||
| bind SIAPI_NEXT_WEAPON [ universaldelta 1 ] | ||
| bind SIAPI_PREVIOUS_WEAPON [ universaldelta -1 ] | ||
| bind SIAPI_PRIMARY_WEAPON [ weapon (weapload 0) 1 ] | ||
| bind SIAPI_SECONDARY_WEAPON [ weapon (weapload 1) 1 ] | ||
| bind SIAPI_LAST_WEAPON [ weapon (weapprev) 1 ] | ||
| bind SIAPI_MENU [ uitoggle ] | ||
| bind SIAPI_JUMP [ jump ] | ||
| specbind SIAPI_JUMP [ specmodeswitch ] | ||
| bind SIAPI_SPECIAL [ special ] | ||
| bind SIAPI_CROUCH [ crouch ] | ||
| bind SIAPI_USE [ use ] | ||
| specbind SIAPI_USE [ spectate 0 ] | ||
| bind SIAPI_RELOAD [ reload ] | ||
| specbind SIAPI_RELOAD [ specmodeswitch ] | ||
| bind SIAPI_DROP [ drop ] | ||
| bind SIAPI_AFFINITY [ affinity ] | ||
| bind SIAPI_SCOREBOARD [ showscores ] | ||
| bind SIAPI_CHANGE_LOADOUT [ gameui_player_show_loadout ] | ||
| bind SIAPI_SUICIDE [ suicide ] | ||
| bind SIAPI_CLAW [ weapon 0 1] | ||
| bind SIAPI_PISTOL [ weapon 1 1] | ||
| bind SIAPI_SWORD [ weapon 2 1] | ||
| bind SIAPI_SHOTGUN [ weapon 3 1] | ||
| bind SIAPI_SMG [ weapon 4 1] | ||
| bind SIAPI_FLAMER [ weapon 5 1] | ||
| bind SIAPI_PLASMA [ weapon 6 1] | ||
| bind SIAPI_ZAPPER [ weapon 7 1] | ||
| bind SIAPI_RIFLE [ weapon 8 1] | ||
| bind SIAPI_CORRODER [ weapon 9 1] | ||
| bind SIAPI_GRENADE [ weapon 10 1] | ||
| bind SIAPI_MINE [ weapon 11 1] | ||
| bind SIAPI_ROCKET [ weapon 12 1] | ||
| bind SIAPI_MINIGUN [ weapon 13 1] | ||
| bind SIAPI_JETSAW [ weapon 14 1] | ||
| bind SIAPI_MELEE [ weapon 15 1] | ||
|
|
||
|
Comment on lines
134
to
176
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Bind the SIAPI actions. You are not supposed to rebind these actions in-engine; you are intended to use the Steam Input configurator tool and change things there. |
||
| saytextcolour = 0; setpersist saytextcolour 1; setcomplete saytextcolour 1 | ||
| getsaycolour = [ | ||
| sc = $saytextcolour | ||
|
|
||
|
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Settings menu item for glyph prompts. 'Automatic' is probably what most people want (dynamically changes glyphs based on last input), but - as is considered good practice - there are options to explicitly lock glyphs if needed. Because Steam Input handles different hardware types for us, the only glyph distinction we need make is KB/M vs controller. This is technically an interface thing, but I feel like it makes more sense to have it together with the controls options. KNOWN ISSUE 1: The box for this is weirdly not as wide as the other boxes in the menu. I probably copied a setting I didn't intend. It may not be worth fiddling with this much because I still need to add a button to open up the controller configurator interface provided by Steam. |
Uh oh!
There was an error while loading. Please reload this page.