mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-31 00:30:57 +00:00
[input] Make a start on the new binding system
Input Mapping Tables are still at the core as they are a good concept, however they include both axis and button mappings, and the size is not hard-coded, but dependent on the known devices. Not much actually works yet (nq segfaults when a key is pressed).
This commit is contained in:
parent
14a5ec7b41
commit
825d8b7a49
14 changed files with 629 additions and 81 deletions
|
@ -58,11 +58,6 @@ static int evdev_driver_handle = -1;
|
|||
static PR_RESMAP (devmap_t) devmap;
|
||||
static devmap_t *devmap_list;
|
||||
|
||||
static void
|
||||
in_evdev_keydest_callback (keydest_t key_dest, void *data)
|
||||
{
|
||||
}
|
||||
|
||||
static void
|
||||
in_evdev_add_select (qf_fd_set *fdset, int *maxfd, void *data)
|
||||
{
|
||||
|
@ -179,8 +174,6 @@ device_remove (device_t *dev)
|
|||
static void
|
||||
in_evdev_init (void *data)
|
||||
{
|
||||
Key_KeydestCallback (in_evdev_keydest_callback, 0);
|
||||
|
||||
inputlib_init (device_add, device_remove);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue