macro help

Need help? Ask here and someone will help
Post Reply
yuki
Posts: 2
Joined: Sat Nov 24, 2012 11:24 pm

macro help

Post by yuki »

Hello
I am a Japanese
I am poor at English
Because macro does not change, teach where is bad
=
MACRO JBUTTONDOUN typ=joystick id=0 name=XXXXXX type=button id=13
KEYDOUN Type=keyboard id=0 name=YYYYYY type=button id=U
DELAY 50
KEYUP Type=keyboard id=0 name=YYYYYY type=button id=U
DELAY 50
JBUTTONDOUN typ=joystick id=0 name=XXXXXX type=button id=13

MACRO JBUTTONUP typ=joystick id=0 name=XXXXXX type=button id=13
KEYUP Type=keyboard id=0 name=YYYYYY type=button id=U
JBUTTONDOUN typ=joystick id=0 name=XXXXXX type=button id=13

I check it in a Multiple Mice and keybords in GIMX confing
I do not seem to move when I do not appoint the name and ID in macro

As for my mouse, XY movement and the wheel ups and downs are recognized to be a mouse in GIMX, and all other buttons are recognized to be joystick

Please help it so that my macro changes
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: macro help

Post by Matlo »

Code: Select all

MACRO JBUTTONDOWN 13
KEYDOWN u
DELAY 50
KEYUP u
DELAY 50
JBUTTONDOWN 13

MACRO JBUTTONUP 13
KEYUP u
JBUTTONDOWN 13
Be careful, everything is case sensitive.
It's not possible to use device names and device ids in macros.
GIMX creator
yuki
Posts: 2
Joined: Sat Nov 24, 2012 11:24 pm

Re: macro help

Post by yuki »

Thank you
Thanks to you, macro changed

It is exercised button a of joystick macro 1 in button c of joystick if I push it
It is exercised button b of joystick macro 2 in button c of joystick if I push it
Is the macrochange with the button possible?
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: macro help

Post by Matlo »

I don't understand your question...
GIMX creator
Post Reply