Commit 33d4117e authored by John Klehm's avatar John Klehm Committed by Alexandre Julliard

winex11: Allow wizardpen to be detected as a stylus.

parent b95c091d
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment