Remapping Picade button keycodes

I’m using the Picade not in RetroPie, but in good old Raspberry Pi OS, with the PiCade hat software installed.

I have successfully used the following syntax to change the keys to regular keyboard keys:

dtoverlay=picade
dtparam=button1=31
dtparam=button2=32
dtparam=button3=33
dtparam=button4=36
dtparam=button5=37
dtparam=button6=38
dtparam=enter=30
dtparam=escape=48

This avoids the problem of 80 characters that wimvds identified here"

After I solved this I did a little happy dance.
Since then, I lost where I found where these particular (non-ASCII) keycodes are documented.
Is this configured as a standard Linux keycode, or is this specified somewhere by a GPIO configuration? They seem to be over riding whatever the default key mappings were, but I can’t locate the table (it had three columns) that documented this relationship.

Anybody got this?
I will thoroughly document my adventures here when I get this last clue…

Thanks!

Could it be this list:

1 Like

TOTALLY checks out!
Thanks!!