-
-
Notifications
You must be signed in to change notification settings - Fork 101
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
Open
RobertCochran
wants to merge
26
commits into
redeclipse:master
Choose a base branch
from
RobertCochran:siapi
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
9c723da
WIP: Initial parts of Steam Input API support
RobertCochran 6859ab8
Remove leftover debug include
RobertCochran 0a13193
Don't require both X and Y movement to consider it a controller move
RobertCochran d6d88e9
Move to using keymaps instead of directly calling doaction
RobertCochran 57e5cbd
Make the handle and keymap_id public members
RobertCochran c82ecbe
Deduplicate function
RobertCochran af30273
Initial glyph implementation
RobertCochran bf5482d
Add menu action set, do cursor/camera actions 'the right way'
RobertCochran 36f75cb
Add 'real' interface to reset player pitch
RobertCochran 645f108
Accept input from all connected controllers
RobertCochran 86e0406
Be prepared to initialize SIAPI handles after boot
RobertCochran 7a1034c
Fix default state of some handles
RobertCochran db87ec2
Add 'open controller configurator' button to controls settings
RobertCochran 993a7ef
Add actions for every individual weapon
RobertCochran 6488141
Add editing mode action set
RobertCochran 26619b9
Move handle init check to after controller count check
RobertCochran 9b13b63
Add SIAPI action for 'last weapon'
RobertCochran 32c6e9e
Add gameplay window style and use to sense in vs out of game menus
RobertCochran cff5332
Factor out common textkey fetch code and also use in SIAPI code
RobertCochran ffbbac3
Add multiple origins support for SIAPI actions
RobertCochran 2e7aa7f
Add joystick-like mode for pie menu cursor
RobertCochran dcb8364
Kill tabs in files that already existed
RobertCochran 5d08d26
Format more like the Romans do
RobertCochran f152889
Add game/controller.o to CLIENT_OBJS
RobertCochran 5d3c690
Fix missed formatting adjustment
RobertCochran dcf7932
Better return value for dummy get_siapi_textkeys
RobertCochran File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,99 @@ | ||
| "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" | ||
| } | ||
| } | ||
| "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" | ||
| "wheel_select" "#Action_WheelSelect" | ||
| "change_loadout" "#Action_ChangeLoadout" | ||
|
|
||
| "scoreboard" "#Action_Scoreboard" | ||
| "suicide" "#Action_Suicide" | ||
|
|
||
| "recenter_camera" "#Action_RecenterCamera" | ||
|
|
||
| } | ||
| } | ||
| "MenuControls" | ||
| { | ||
| "title" "#Set_Menu" | ||
| "StickPadGyro" | ||
| { | ||
| } | ||
| "AnalogTrigger" | ||
| { | ||
| } | ||
| "Button" | ||
| { | ||
| "menu_up" "#Menu_Up" | ||
| "menu_down" "#Menu_Down" | ||
| "menu_left" "#Menu_Left" | ||
| "menu_right" "#Menu_Right" | ||
| "menu_select" "#Menu_Select" | ||
| "menu_cancel" "#Menu_Cancel" | ||
| "pause_menu" "#Action_ReturnToGame" | ||
| } | ||
| } | ||
| } | ||
| "localization" | ||
| { | ||
| "english" | ||
| { | ||
| "Set_Ingame" "In-Game Controls" | ||
| "Set_Menu" "Menu Controls" | ||
| "Action_Move" "Move" | ||
| "Action_Camera" "Camera" | ||
| "Action_Primary" "Primary Fire" | ||
| "Action_Secondary" "Secondary Fire" | ||
| "Action_Reload" "Reload" | ||
| "Action_Use" "Use" | ||
| "Action_Jump" "Jump" | ||
| "Action_Walk" "Walk" | ||
| "Action_Crouch" "Crouch" | ||
| "Action_Special" "Special" | ||
| "Action_Drop" "Drop" | ||
| "Action_Affinity" "Affinity" | ||
| "Action_Dash" "Dash" | ||
|
|
||
| "Action_RecenterCamera" "Recenter Camera" | ||
| "Menu_Up" "Up" | ||
| "Menu_Down" "Down" | ||
| "Menu_Left" "Left" | ||
| "Menu_Right" "Right" | ||
| "Menu_Select" "Select" | ||
| "Menu_Cancel" "Cancel" | ||
| } | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.