Add mouse.ahk to autohotkey role

Enable natural scrolling on Windows without relying on the
`FlipFlopWheel` registry key which doesn't always work and depends on
knowing the device instance path for the mouse HID.
This commit is contained in:
Kenneth Benzie 2025-02-06 22:28:52 +00:00
parent 518efca73d
commit d8a46b017d

View File

@ -31,3 +31,25 @@
run_level: highest
start_when_available: true
wake_to_run: false
- name: create scheduled task
win_scheduled_task:
path: Benie
name: mouse.ahk
state: present
enable: true
triggers:
- type: logon
enabled: true
- type: registration
enabled: true
actions:
- path: '{{autohotkey_repo_dir}}/mouse.ahk'
disallow_start_if_on_batteries: false
stop_if_going_on_batteries: false
execution_time_limit: PT0S
logon_type: interactive_token
multiple_instances: 3
run_level: highest
start_when_available: true
wake_to_run: false