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
9227e256
Commit
9227e256
authored
May 06, 2008
by
Vitaliy Margolen
Committed by
Alexandre Julliard
May 07, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dinput: Ignore events from extra joystick buttons.
parent
bdbc2783
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
joystick_linux.c
dlls/dinput/joystick_linux.c
+2
-0
No files found.
dlls/dinput/joystick_linux.c
View file @
9227e256
...
...
@@ -698,6 +698,8 @@ static void joy_polldev(JoystickImpl *This) {
jse
.
type
,
jse
.
number
,
jse
.
value
);
if
(
jse
.
type
&
JS_EVENT_BUTTON
)
{
if
(
jse
.
number
>=
This
->
devcaps
.
dwButtons
)
return
;
inst_id
=
DIDFT_MAKEINSTANCE
(
jse
.
number
)
|
DIDFT_PSHBUTTON
;
This
->
js
.
rgbButtons
[
jse
.
number
]
=
value
=
jse
.
value
?
0x80
:
0x00
;
}
...
...
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