summaryrefslogtreecommitdiff
path: root/src/void.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/void.c')
-rw-r--r--src/void.c16
1 files changed, 10 insertions, 6 deletions
diff --git a/src/void.c b/src/void.c
index 17bd38b..729fb41 100644
--- a/src/void.c
+++ b/src/void.c
@@ -213,12 +213,16 @@ xf86VoidInit(InputDriverPtr drv,
}
_X_EXPORT InputDriverRec VOID = {
- 1, /* driver version */
- "void", /* driver name */
- NULL, /* identify */
- xf86VoidInit, /* pre-init */
- xf86VoidUninit, /* un-init */
- NULL, /* module */
+ .driverVersion = 1,
+ .driverName = "void",
+ .Identify = NULL,
+ .PreInit = xf86VoidInit,
+ .UnInit = xf86VoidUninit,
+ .module = NULL,
+ .default_options = NULL,
+#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 21
+ .capabilities = 0
+#endif
};
/*