I am working on a project using a custom mechanical keyboard (16 keys). The problem is that I want the keyboard to send key presses that do not affect the user like numpad/f1-12 keys. (I excluded f13-24 because I was using it for my main keyboard)
I discovered a key mapping that allows you to enter custom hex codes for keys in via and mapped it to some of 0xC*,0xD*,0xE*. I then started looking at how I could build a rapid prototype of the software behind the keyboard with python & pynput. I went to the documentation of the library and found nothing, so I went to its source code and found a function called keyboard.KeyCode.from_vk(<hex code>) that was called to initialize the keys in this class keyboard.Key. I then used it to check if the hex key was pressed in the function on_press provided in the example from the docs but failed.
So I must ask, how do I listen for a custom hex code (mapped from via/qmk) with pynput?