yqrashawn / GokuRakuJoudo

config karabiner with ease
GNU General Public License v3.0
1.14k stars 121 forks source link

Define set_mouse_cursor_position in edn format #182

Open mattmattmatt opened 2 years ago

mattmattmatt commented 2 years ago

I was not able to find any reference to the set_mouse_cursor_position function in the source code, docs, or online forums.

Is this implemented, and if yes, how can it be defined in the edn file? I'm looking for something along the lines of

{:des "D Mode – Mouse"
            :rules [:d-mode
                [:j {:mkey {:x -1500}}] ; moves mouse left from current position (implemented)
                [:n {:sfunc {:mpos {:x 1280 :y 1080 :screen 1}}}] ; moves mouse to absolute position 1280,1080 on screen 1 (not implemented)
            ]
}

Thanks for your help! 🙏

ImanMahmoudinasab commented 4 months ago

@yqrashawn Could you please have a look at this issue? and possibly add it? thanks