2021-07-05 07:26:07 +00:00
|
|
|
lib_LTLIBRARIES += libs/input/libQFinput.la
|
2021-09-28 01:57:12 +00:00
|
|
|
noinst_LTLIBRARIES += @input_libs@
|
|
|
|
|
|
|
|
input_deps = @input_libs@
|
2021-07-05 07:26:07 +00:00
|
|
|
|
2021-08-27 00:10:21 +00:00
|
|
|
in_evdev_src= \
|
|
|
|
libs/input/evdev/hotplug.c \
|
|
|
|
libs/input/evdev/inputlib.c \
|
|
|
|
libs/input/in_evdev.c
|
|
|
|
|
2021-09-28 01:57:12 +00:00
|
|
|
libs_input_libinput_evdev_la_LDFLAGS= $(lib_ldflags)
|
|
|
|
libs_input_libinput_evdev_la_LIBADD=
|
|
|
|
libs_input_libinput_evdev_la_DEPENDENCIES=
|
|
|
|
libs_input_libinput_evdev_la_CFLAGS=
|
|
|
|
libs_input_libinput_evdev_la_SOURCES= $(in_evdev_src)
|
|
|
|
|
2021-07-05 07:26:07 +00:00
|
|
|
libs_input_libQFinput_la_LDFLAGS= $(lib_ldflags)
|
|
|
|
libs_input_libQFinput_la_LIBADD= $(input_deps)
|
|
|
|
libs_input_libQFinput_la_DEPENDENCIES= $(input_deps)
|
|
|
|
libs_input_libQFinput_la_SOURCES= \
|
|
|
|
libs/input/keys.c \
|
2021-08-27 00:10:21 +00:00
|
|
|
libs/input/old_keys.c \
|
[input] Rework logical buttons
kbutton_t is now in_button_t and has been moved to input.h. Also, a
button registration function has been added to take care of +button and
-button command creation and, eventually, direct binding of "physical"
buttons to logical buttons. "Physical" buttons are those coming in from
the OS (keyboard, mouse, joystick...), logical buttons are what the code
looks at for button state.
Additionally, the button edge detection code has been cleaned up such
that it no longer uses magic numbers, and the conversion to a float is
cleaner. Interestingly, I found that the handling is extremely
frame-rate dependent (eg, +forward will accelerate the player to full
speed much faster at 72fps than it does at 20fps). This may be a factor
in why gamers are frame rate obsessed: other games doing the same thing
would certainly feel different under varying frame rates.
2021-10-01 00:16:31 +00:00
|
|
|
libs/input/in_button.c \
|
2021-08-27 00:10:21 +00:00
|
|
|
libs/input/in_common.c \
|
|
|
|
libs/input/in_event.c
|
2021-09-28 01:57:12 +00:00
|
|
|
|
|
|
|
EXTRA_LTLIBRARIES += \
|
|
|
|
libs/input/libinput_evdev.la
|