Remapping with AHK

Discussion in 'W10 GYRO' started by flpnvrtl, May 6, 2021.

  1. flpnvrtl

    flpnvrtl New Member

    Hello,
    I somewhat managed to remap the remote. I have tried AutoHotKey, AHKHID, AHI, Interception, Intercept, LuaMacros and Microsoft PowerToys and SharpKeys I didn't even try.

    If you don't need functionality of AutoHotKey you can simply use Microsoft PowerToys, except for Vol- , Vol+ , Play-Pause ⏯️, Previous ⏪, Next ⏩ buttons which I refer to as "Special buttons".
    Those special buttons can by remapped only with combination of AutoHotKey and AHKHID. And even than this combination doesn't block the original inputs but in case of Vol- , Vol+ , Play-Pause ⏯️ buttons I don't see reason why, but you can negate the original input with opposite action (this is included in my script).
    I didn't find out how to negate the Previous ⏪, Next ⏩ buttons, but they send such unique function that it doesn't do anything with most apps. There is suggested remapping in my script for these two buttons, so they act as regular multimedia actions Media_Prev and Media_Next.

    If you want to block the original input and or you want to affect only the remote not any other keyboard, you can use AHI with Interception. But this is a cumbersome process, and it doesn't play nice with hibernation or sleep and or if you get pass 10 HID devices.

    I also made a version of the script where you can toggle between the original and your custom mapping.

    My AHK scripts with instructions here:
    on my github / Inirdin / Pepper-Jobs-W10-Gyro-Remapping (Can't post links)
     
    Last edited: May 18, 2021