Changeset View
Changeset View
Standalone View
Standalone View
x11-drivers/xf86-input-wacom/files/patch-src-wcmValidateDevice.c
Show All 23 Lines | - free(fsource); | ||||
free(psource); | free(psource); | ||||
} | } | ||||
} | } | ||||
+ free(fsource); | + free(fsource); | ||||
+ | + | ||||
if (match) | if (match) | ||||
xf86Msg(X_WARNING, "%s: device file already in use by %s. " | xf86Msg(X_WARNING, "%s: device file already in use by %s. " | ||||
"Ignoring.\n", pInfo->name, pDevices->name); | "Ignoring.\n", pInfo->name, pDevices->name); | ||||
@@ -123,7 +124,7 @@ ret: | |||||
static struct | |||||
{ | |||||
const char* type; | |||||
- __u16 tool[3]; /* tool array is terminated by 0 */ | |||||
+ uint16_t tool[3]; /* tool array is terminated by 0 */ | |||||
} wcmType [] = | |||||
{ | |||||
{ "stylus", { BTN_TOOL_PEN, 0 } }, | |||||
@@ -205,6 +206,10 @@ int wcmDeviceTypeKeys(InputInfoPtr pInfo | @@ -205,6 +206,10 @@ int wcmDeviceTypeKeys(InputInfoPtr pInfo | ||||
case 0x314: /* Intuos Pro S */ | case 0x314: /* Intuos Pro S */ | ||||
case 0x315: /* Intuos Pro M */ | case 0x315: /* Intuos Pro M */ | ||||
case 0x317: /* Intuos Pro L */ | case 0x317: /* Intuos Pro L */ | ||||
+ case 0x33B: /* Intuos Draw small */ | + case 0x33B: /* Intuos Draw small */ | ||||
+ case 0x33C: /* Intuos Art/Photo/Comic small */ | + case 0x33C: /* Intuos Art/Photo/Comic small */ | ||||
+ case 0x33D: /* Intuos Draw medium */ | + case 0x33D: /* Intuos Draw medium */ | ||||
+ case 0x33E: /* Intuos Art medium */ | + case 0x33E: /* Intuos Art medium */ | ||||
Show All 16 Lines |