Where is KEY_MENU defined?

Discussion of developmental aspects of the MiSTer Project.
paulslocum
Posts: 2
Joined: Mon Dec 11, 2023 3:43 pm

Where is KEY_MENU defined?

Unread post 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();
Flandango
Core Developer
Posts: 404
Joined: Wed May 26, 2021 9:35 pm
Has thanked: 42 times
Been thanked: 343 times

Re: Where is KEY_MENU defined?

Unread post 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

Post Reply