mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
[input] Initialize the axis/button callback fields
Found these while trying to use the new code in my KSP addon.
This commit is contained in:
parent
aafb3c1d98
commit
4b38d75f2c
1 changed files with 5 additions and 0 deletions
|
@ -218,6 +218,11 @@ check_device (const char *path)
|
||||||
|
|
||||||
dev->event_count = 0;
|
dev->event_count = 0;
|
||||||
|
|
||||||
|
dev->data = 0;
|
||||||
|
dev->axis_event = 0;
|
||||||
|
dev->button_event = 0;
|
||||||
|
|
||||||
|
|
||||||
//Sys_Printf ("%s:\n", path);
|
//Sys_Printf ("%s:\n", path);
|
||||||
//Sys_Printf ("\tname: %s\n", dev->name);
|
//Sys_Printf ("\tname: %s\n", dev->name);
|
||||||
//Sys_Printf ("\tbuttons: %d\n", dev->num_buttons);
|
//Sys_Printf ("\tbuttons: %d\n", dev->num_buttons);
|
||||||
|
|
Loading…
Reference in a new issue