Page 1 of 1

Where is KEY_MENU defined?

Posted: Tue Dec 12, 2023 6:10 pm
by paulslocum

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();

Re: Where is KEY_MENU defined?

Posted: Tue Dec 12, 2023 6:43 pm
by Flandango

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