retro-home
retro-home copied to clipboard
added picadehat gpio capability and a tool to monitor input device
Well there is still room for improvement, but this should work now. It's needs to be tested on physical device. Later it could be improved with LED feedback and press command and held function on same pin as well.
For now keycode dictionary is layout settings and later every gpio pin just needs to be defined as variable with the class which does the heavy lifting. Hopefully it's more human readable and straightforward enough .... and works :D :man_dancing:
There are missing features like on board sound https://github.com/pimoroni/picade-hat/blob/master/legacy-python-driver/README.md#sound--volume-control
And volume control with media buttons are mapped, however that still questionable if working.
Hence at this stage physical testing is a necessity to tune it further.