Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
79bb1333
Commit
79bb1333
authored
Nov 09, 2023
by
Rémi Bernon
Committed by
Alexandre Julliard
Nov 14, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
windows.gaming.input: Fix inverted start / select gamepad buttons.
parent
7d74938b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
gamepad.c
dlls/windows.gaming.input/gamepad.c
+2
-2
No files found.
dlls/windows.gaming.input/gamepad.c
View file @
79bb1333
...
...
@@ -273,8 +273,8 @@ static HRESULT WINAPI gamepad_GetCurrentReading( IGamepad *iface, struct Gamepad
if
(
state
.
buttons
[
3
])
value
->
Buttons
|=
GamepadButtons_Y
;
if
(
state
.
buttons
[
4
])
value
->
Buttons
|=
GamepadButtons_LeftShoulder
;
if
(
state
.
buttons
[
5
])
value
->
Buttons
|=
GamepadButtons_RightShoulder
;
if
(
state
.
buttons
[
6
])
value
->
Buttons
|=
GamepadButtons_
Menu
;
if
(
state
.
buttons
[
7
])
value
->
Buttons
|=
GamepadButtons_
View
;
if
(
state
.
buttons
[
6
])
value
->
Buttons
|=
GamepadButtons_
View
;
if
(
state
.
buttons
[
7
])
value
->
Buttons
|=
GamepadButtons_
Menu
;
if
(
state
.
buttons
[
8
])
value
->
Buttons
|=
GamepadButtons_LeftThumbstick
;
if
(
state
.
buttons
[
9
])
value
->
Buttons
|=
GamepadButtons_RightThumbstick
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment