Sorry if I'm missing something obvious, but I can't find where the constant KEY_MENU is defined. It appears in user_io.cpp.
Code: Select all
if (!osd_is_visible && !is_menu() && key == KEY_MENU && press == 3) open_joystick_setup();
Sorry if I'm missing something obvious, but I can't find where the constant KEY_MENU is defined. It appears in user_io.cpp.
Code: Select all
if (!osd_is_visible && !is_menu() && key == KEY_MENU && press == 3) open_joystick_setup();
It's defined in the linux headers and not part of the Mister Main code.
It's part of the development environment, so wherever you installed the compiler...... arm-none-linux-gnueabihf/libc/usr/include/linux/input-event-codes.h