scummvm/backends/platform/ios7/module.mk
Lars Sundström 8d395fd790 IOS7: Add support for Extended Gamepad controllers
Add support for Extended Gamepad controllers. What defines extended
gamepad controllers can be found here:
https://developer.apple.com/documentation/gamecontroller/gcextendedgamepad

Support has been added for controlling the pointer position using the
left thumbstick, left clicks using the A-button and right clicks using
the B-button. Also the Main menu can be accessed using the Home/Menu
button.

The thumbstick values are received when changed, however if holding the
thumbstick in the same position the valueChangedHandler will not be
called. Therefore store the X- and Y-axis values and begin to poll
readings of the stored values for as long as the thumbstick is out of
the center position.
2022-08-08 21:08:56 +01:00

22 lines
574 B
Makefile

MODULE := backends/platform/ios7
MODULE_OBJS := \
ios7_osys_main.o \
ios7_osys_events.o \
ios7_osys_sound.o \
ios7_osys_video.o \
ios7_osys_misc.o \
ios7_main.o \
ios7_video.o \
ios7_keyboard.o \
ios7_scummvm_view_controller.o \
ios7_app_delegate.o \
ios7_game_controller.o \
ios7_touch_controller.o \
ios7_mouse_controller.o \
ios7_gamepad_controller.o
# We don't use rules.mk but rather manually update OBJS and MODULE_DIRS.
MODULE_OBJS := $(addprefix $(MODULE)/, $(MODULE_OBJS))
OBJS := $(MODULE_OBJS) $(OBJS)
MODULE_DIRS += $(sort $(dir $(MODULE_OBJS)))