Because the button shim comms all go through i2c, I’m just using the supplied python library. And since the “keyboard.py” example does what I need, I’m basically using that with a simple change to input keys 1-5. Yes, it uses evdev.
I was really lazy about getting the library working with the modified shim. The I2C address is hard-coded into the button-shim library and I’m still a beginner with Python. I simply duplicated the library with the I2C address for the 2nd button shim and created a 2nd keyboard.py based script that uses the dup library to input keys 6-0.
I’m really surprised at how easy this was, and being able to input all 10 digits in a really slim form is really nice. Pimoroni really should consider supporting this officially with a solder-jumper on the button shim.