Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
SRB2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
STJr
SRB2
Commits
fe5001a3
Commit
fe5001a3
authored
6 years ago
by
Marco Z
Browse files
Options
Downloads
Patches
Plain Diff
Dummy out 2p pause, system menu, talk, and scores buttons because grayed out in-menu
parent
ed7178bc
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!488
Merge in next and don't billboard papersprites in GL
,
!400
Assign joy button defaults for 1 and 2 player
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/g_input.c
+4
-4
4 additions, 4 deletions
src/g_input.c
with
4 additions
and
4 deletions
src/g_input.c
+
4
−
4
View file @
fe5001a3
...
@@ -1215,12 +1215,12 @@ void G_Controldefault(void)
...
@@ -1215,12 +1215,12 @@ void G_Controldefault(void)
gamecontrolbis
[
gc_use
][
0
]
=
KEY_2JOY1
+
4
;
// LB
gamecontrolbis
[
gc_use
][
0
]
=
KEY_2JOY1
+
4
;
// LB
gamecontrolbis
[
gc_camreset
][
0
]
=
KEY_2JOY1
+
3
;
// Y
gamecontrolbis
[
gc_camreset
][
0
]
=
KEY_2JOY1
+
3
;
// Y
gamecontrolbis
[
gc_jump
][
0
]
=
KEY_2JOY1
+
5
;
// RB
gamecontrolbis
[
gc_jump
][
0
]
=
KEY_2JOY1
+
5
;
// RB
gamecontrolbis
[
gc_pause
][
0
]
=
KEY_2JOY1
+
6
;
// Back
//
gamecontrolbis[gc_pause ][0] = KEY_2JOY1+6; // Back
gamecontrolbis
[
gc_systemmenu
][
0
]
=
KEY_2JOY1
+
7
;
// Start
//
gamecontrolbis[gc_systemmenu][0] = KEY_2JOY1+7; // Start
gamecontrolbis
[
gc_camtoggle
][
0
]
=
KEY_2HAT1
+
0
;
// D-Pad Up
gamecontrolbis
[
gc_camtoggle
][
0
]
=
KEY_2HAT1
+
0
;
// D-Pad Up
gamecontrolbis
[
gc_screenshot
][
0
]
=
KEY_2HAT1
+
1
;
// D-Pad Down
gamecontrolbis
[
gc_screenshot
][
0
]
=
KEY_2HAT1
+
1
;
// D-Pad Down
gamecontrolbis
[
gc_talkkey
][
0
]
=
KEY_2HAT1
+
2
;
// D-Pad Left
//
gamecontrolbis[gc_talkkey ][0] = KEY_2HAT1+2; // D-Pad Left
gamecontrolbis
[
gc_scores
][
0
]
=
KEY_2HAT1
+
3
;
// D-Pad Right
//
gamecontrolbis[gc_scores ][0] = KEY_2HAT1+3; // D-Pad Right
#ifdef WMINPUT
#ifdef WMINPUT
gamecontrol
[
gc_forward
][
0
]
=
KEY_JOY1
+
02
;
//UP
gamecontrol
[
gc_forward
][
0
]
=
KEY_JOY1
+
02
;
//UP
gamecontrol
[
gc_backward
][
0
]
=
KEY_JOY1
+
03
;
//DOWN
gamecontrol
[
gc_backward
][
0
]
=
KEY_JOY1
+
03
;
//DOWN
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment