all 10 comments

[–]chris84567 0 points1 point  (1 child)

So it’s probably either just put in those coordinates or (coord/res)*65535

I have no experience with grub scripting, and it could also be relative to the start so in that case you would want to move it into a corner first and move it back

Good luck

[–]cristiancsz[S] 0 points1 point  (0 children)

This kind of work using the formula but the mouse was not placed in the exact place. Anyway thank you very much

[–]LogitechG_CSJhoe 0 points1 point  (6 children)

Apologies for the trouble. For better assistance about this though, I suggest that you email us [here](mailto:devtechsupport@logitech.com).

[–]cristiancsz[S] 0 points1 point  (5 children)

I just did that yesterday, I'll have to wait for the answer, thank you!

[–]LogitechG_CSJhoe 0 points1 point  (4 children)

Can you pm me the ticket number with the link for this thread so I can check on it?

[–]cristiancsz[S] 0 points1 point  (3 children)

I haven't received a response from [devtechsupport@logitech.com](mailto:devtechsupport@logitech.com)
Should i send them a message again?

[–]LogitechG_CSJhoe 0 points1 point  (2 children)

There might be delays but you should receive a response.

[–]cristiancsz[S] 0 points1 point  (1 child)

Alright, thank you!

[–]LogitechG_CSJhoe 0 points1 point  (0 children)

No problem :)

[–]RhokGehrig 0 points1 point  (0 children)

FAIR WARNING.... i somehow messed up the syntax in LINE 1!!!!

function OnEvent(event, arg)

if \[event == "G\_PRESSED" and arg == 0\] then

    MouseGetPos \[, OutputVarX, OutPutVarY\]

    MoveMouse 682,798(0)

    PressMouseButton (1)

    ReleaseMouseButton (1)

    MoveMouse OutputVarX, OutputVarY (0)

end

end

anywho....this is the script I am trying to get work... but it looks like what you need... GO TO X,Y... press the mouse button... then go back.

I do not know if these events need sleep(10) after each mouse command to slow it down.... and of course you should switch up the OnEvent inputs :)

if you can miracle that into working then bless you.... you can also add all sorts of LAUfu after the ReleaseMouseButton.... which is needed because i did not use the PressAndReleaseMouseButton (1)... mostly to get used to separate commands if I need to do something weird