Say you wanted to map that red button to 'up'.
So you want to replace the line:
0x16 396
with
0x16 103In simple terms ('cos I have a simple understanding of this!) the first column of numbers in your remote.conf (the ones in hex) is a list of the remote keys, the second column is the list of what they're read as.
Long presses are mapped within kodi, not in remote.conf.
Yeah, i've got that sorted thanks to your explanation. Just want to explore what's going on in the default configuration file and what 396 initally should trigger. As it's labeled "KODI" on the remote in android it will probably just start Kodi, if installed. Looks like a modification to me.
Anyway, still don't know what the "repeat_key_begin" section in the remote.conf usually does. In my understanding the "key_begin" section simply defines the press key action, while "repeat_key_begin" performs an action after the given value "repeat_delay" for the already pressed key.
If that's the case, one could raise the delay a bit and set actions to apply as you would use in your longpress modifications in keyboard.xml.
By default, it looks like "repeat_key_begin" has exactly the same defiinitions as "key_begin".
Anyway, this get's a bit offtopic in here. Thank you for your help so far.