Dang! This is awesome news!
Mauro, any chance you could post a working sample? I sketched up a
quick attempt at this a while back:
On 04/25/2016 09:53 AM, Phil Hagelberg wrote:
Mauro Lopes <maurolopes@xxxxxxxxx> writes:
For reasons that I still don't understand, you can't just use
mouse keycodes directly in the keymap. But it works perfectly
(all mouse commands) if you create an action and point to it in
I think this is because the keymap is normally array of 8-bit
numbers, so there isn't enough room there for all the possible
actions you could put in the actions array. I have bumped it up in
my fork to a 16-bit number, but 4 of those bits are dedicated to
modifiers now, so mouse keys still need to be in their own action.
I will try to get this better-documented; thanks!