I have a damaged screen and touch digitizer on an automotive head unit. I am trying to access the diagnostics menu for the unit (Honda Clarity 2018 PHEV non-touring), but the touch input keys are not (to my knowledge) among the standard Android keyevent codes. Is there some way to pull these directly from the head unit itself? I have root on the unit, and I did find some keyboard data files but the enclosed keyevent codes don't appear to all be functional, and it isn't clear from the descriptors which keys would match with the necessary inputs (Power, Menu, and Screen Brightness, the first two of which are not the standard Android ones).
EDIT: here's a picture of the keys in question. Note that these do not correspond to the Android generic equivalents, e.g., keyevent 24 & 25 will invoke the Android native UI's volume control, but not the same as these keys; same for the rest of the keys.

keyeventnot only includes keyboard keys but also physical buttons, so it's kind of expected that a keyboard data file doesn't cover everykeyevent. Meanwhile, there's official documentation forKeyEvent. Still, I think this question does have merit to explore the availability of valid keyevent on each device. – Andrew T. Jul 22 '23 at 02:51adb shellthen read using, say,cat <filename>? – Arctiic Jul 22 '23 at 10:12keyevent 26, which on this system appears to toggle the visual display on or off. I have noted that after toggling the display off and idling for long enough, the entire system seems to go into some sort of sleep mode, and requires power cycling the vehicle completely to turn back on. – Arctiic Jul 23 '23 at 20:21android modify hardware touch keystook me e.g. to this site: https://anil-gudigar.medium.com/android-hardware-key-remapping-and-key-event-handled-in-the-phonefallbackeventhandler-f7b249ba9e17 – Robert Feb 12 '24 at 08:06