mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-28 21:33:09 +00:00
input: add support for RawDeviceEvents.
This commit is contained in:
parent
a668d91e28
commit
4cc6a96d71
6 changed files with 169 additions and 4 deletions
|
|
@ -277,6 +277,9 @@ ChangeDeviceID(DeviceIntPtr dev, InternalEvent* event)
|
|||
case ET_DeviceChanged:
|
||||
event->u.device.deviceid = dev->id;
|
||||
break;
|
||||
case ET_Raw:
|
||||
event->u.raw.deviceid = dev->id;
|
||||
break;
|
||||
default:
|
||||
ErrorF("[mi] Unknown event type (%d), cannot change id.\n",
|
||||
event->u.any.type);
|
||||
|
|
|
|||
Loading…
Reference in a new issue