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
33d4117e
Commit
33d4117e
authored
Apr 17, 2008
by
John Klehm
Committed by
Alexandre Julliard
Apr 25, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Allow wizardpen to be detected as a stylus.
parent
b95c091d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
4 deletions
+14
-4
wintab.c
dlls/winex11.drv/wintab.c
+14
-4
No files found.
dlls/winex11.drv/wintab.c
View file @
33d4117e
...
...
@@ -414,10 +414,20 @@ static BOOL is_tablet_cursor(const char *name, const char *type)
static
BOOL
is_stylus
(
const
char
*
name
,
const
char
*
type
)
{
if
(
name
&&
match_token
(
name
,
"stylus"
))
return
TRUE
;
if
(
type
&&
match_token
(
type
,
"stylus"
))
return
TRUE
;
int
i
;
static
const
char
*
tablet_stylus_whitelist
[]
=
{
"stylus"
,
"wizardpen"
,
NULL
};
for
(
i
=
0
;
tablet_stylus_whitelist
[
i
]
!=
NULL
;
i
++
)
{
if
(
name
&&
match_token
(
name
,
tablet_stylus_whitelist
[
i
]))
return
TRUE
;
if
(
type
&&
match_token
(
type
,
tablet_stylus_whitelist
[
i
]))
return
TRUE
;
}
return
FALSE
;
}
...
...
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