mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-19 00:15:30 +00:00
COMMON: Hopefully fix compilation
EVENT_CUSTOM_BACKEND_HARDWARE is only set when ENABLE_KEYMAPPER is set
This commit is contained in:
parent
97ed6a5abb
commit
2b57ccfd5e
@ -50,7 +50,7 @@ List<Event> DefaultEventMapper::mapEvent(const Event &ev, EventSource *source) {
|
||||
if (mappedEvent.type == EVENT_INVALID)
|
||||
mappedEvent = ev;
|
||||
|
||||
#ifdef ENABLE_VKEYBD
|
||||
#ifdef ENABLE_KEYMAPPER
|
||||
// TODO: this check is not needed post-split
|
||||
if (mappedEvent.type == EVENT_CUSTOM_BACKEND_HARDWARE) {
|
||||
warning("EVENT_CUSTOM_BACKEND_HARDWARE was not mapped");
|
||||
|
Loading…
x
Reference in New Issue
Block a user