mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-04 21:08:13 +02:00
include: Add an InputLevel enum
Currently unused, but will be in the future. Signed-off-by: Chase Douglas <chase.douglas@canonical.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
e5aa00989c
commit
7e2207548b
1 changed files with 6 additions and 0 deletions
|
|
@ -31,6 +31,12 @@
|
|||
|
||||
#define FP1616(integral, frac) ((integral) * (1 << 16) + (frac) * (1 << 16))
|
||||
|
||||
enum InputLevel {
|
||||
CORE,
|
||||
XI,
|
||||
XI2,
|
||||
};
|
||||
|
||||
_X_EXPORT int EventToCore(InternalEvent *event, xEvent **core, int *count);
|
||||
_X_EXPORT int EventToXI(InternalEvent *ev, xEvent **xi, int *count);
|
||||
_X_EXPORT int EventToXI2(InternalEvent *ev, xEvent **xi);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue