[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:
Bill Currie 2022-06-09 02:42:30 +09:00
parent aafb3c1d98
commit 4b38d75f2c
1 changed files with 5 additions and 0 deletions

View File

@ -218,6 +218,11 @@ check_device (const char *path)
dev->event_count = 0;
dev->data = 0;
dev->axis_event = 0;
dev->button_event = 0;
//Sys_Printf ("%s:\n", path);
//Sys_Printf ("\tname: %s\n", dev->name);
//Sys_Printf ("\tbuttons: %d\n", dev->num_buttons);