Page 1 of 1

{MADD:x,y}

Posted: Mon Apr 05, 2021 8:37 am
by ericshug
XMBC Version: 2.19.1
Windows Version: win 10 8301
Mouse Information (brand/model): logitech m100r
Relevant Computer Information (CPU, RAM etc): ryzen 5 2600 16g
Did the problem occur after an upgrade of XMBC? (If so, from what version?):
Did the problem occur after a Windows update/upgrade? (If so, from what version?):
How long have you used XMBC?: 1 year
What language and keyboard layout do you use in Windows?: english

Clear description of the problem - try and include as much information as possible, including what button and mappings you are having problems with (if applicable).:
1.I need move cursor x,y position to x,-200 position. /pre sec at center screen .
1.and how to set cursor at center screen?
like {MADD:x,-200}{WAITMS1000} {MADD:x,-200}{WAITMS1000} ,not working.

Re: {MADD:x,y}

Posted: Mon Apr 05, 2021 11:38 am
by phil
You cant add "x" to the x position as "x" is not a number.
x and y are intended to be the numbers to add.
If you dont want to change the x position, simply add 0 to it!

{MADD:0,-200} will subtract 200 pixels from the Y component (vertical axis) only.
or {MADD:-200,0} will subtract 200 pixels from the X component (horizontal axis) only.

Regards,
Phil

Re: {MADD:x,y}

Posted: Tue Apr 06, 2021 1:51 am
by ericshug
Simulated keys:(sticky repeat)[{MADD:0,-200}]
Not working?Am I missing something?

It's working now ,thanks