src/ui-event.c
const char *keycode_find_desc(keycode_t kc)
{
	size_t i;
	for (i = 0; i < N_ELEMENTS(mappings); i++) {
		if (mappings[i].code == kc)
			return mappings[i].desc;
	}
	return NULL;
}
/**
 * Given a keycode, return its textual mapping.
 */
Given a keycode, return its textual mapping.
Given a keycode return its textual mapping .
const char *keycode_find_desc(keycode_t kc)
{
	size_t i;
	for (i = 0; i < N_ELEMENTS(mappings); i++) {
		if (mappings[i].code == kc)
			return mappings[i].desc;
	}
	return NULL;
}
const char * keycode_find_desc ( keycode_t kc ) { size_t i ; for ( i = 0 ; i < N_ELEMENTS ( mappings ) ; i ++ ) { if ( mappings [ i ] . code == kc ) return mappings [ i ] . desc ; } return NULL ; }
Given a keycode, return its textual mapping.
Given a keycode return its textual mapping .