Apex-Macros
Apex-Macros copied to clipboard
how to map ↖ and ↗ keys of the inverted T arrow keys?
The up /left and up/right arrow keys output scan codes 0x700AC and 0x700AD, but how do you actually assign based on scancodes that don't have a corresponding keycode?
Sorry for the slightly late response, but I also have no solution for this. My diagonal arrows work, if apex-macros has not been enabled (or disabled, respectively). But once enabled, I also just receive the scan codes but found no solution so far to map them to a custom shortcut. However, I also do not really need them, so it does not matter to much for me personally. If you find a solution it will still be interesting to know.
I actually did arrive at an answer for this, but I did it through the other git repo for Apex Keyboards. ApexCtl. I have created my own fork since it's pretty well unsupported now and has breaking changes that need to be applied. I have applied them, but have it poorly documented myself.
You have to map the [scancodes from those keys] to something usable, by default, they are unmapped. Once you do that, then you can use the keycodes in software (https://github.com/madivad/ApexCtl/blob/master/config/90-apex.hwdb) (0700ac
and 0700ad
, I gave them 221 and 220).
https://github.com/madivad/ApexCtl
Looks interesting to me, however I did not reproduce the behavior; copied the hwdb file to /etc/udev/hwdb.d/ and even after 'sudo udevadm hwdb --update' and 'sudo udevadm control --reload' nothing changed for me... I would like to integrate this, too, however I think I missed something?
Just uploaded a new version that includes the scancodes file and thus fully supports all macro keys, at least on the keyboards on which I could test it. The arrow keys are by default excluded from the file, but can be added if required.