This PR adds input_mapping function that handles button mapping. Everything else falls back to the default hid behavior.
By making use of BTN_ and KEY_MACRO ranges we're extending the button limit from 80 to 137. If we need more than that, we can just lower the last block of usages to something that comes earlier than KEY_MACRO1.
I also took the courtesy to add myself as the co-author.
This PR adds
input_mapping
function that handles button mapping. Everything else falls back to the default hid behavior.By making use of BTN_ and KEY_MACRO ranges we're extending the button limit from 80 to 137. If we need more than that, we can just lower the last block of usages to something that comes earlier than KEY_MACRO1.
I also took the courtesy to add myself as the co-author.