hi
i made this anti recoil macro and it works fine but the problem is how can i stop MAXIS 0 from moving after little time.
i simply need to stop the MAXIS 0 2 command after a 100ms and keep the MAXIS 1 2 till i release h button(obviously my fire button).
this is the macro:
MACRO KEYDOWN h
MAXIS 1 2
MAXIS 0 2
KEYDOWN h
MACRO MBUTTONDOWN BUTTON_LEFT
KEYDOWN h
MACRO MBUTTONUP BUTTON_LEFT
KEYDOWN h
KEYUP h
i tried to use DELAY like below :
MACRO KEYDOWN h
MAXIS 1 2
MAXIS 0 2
DELAY 100
MAXIS 0 0
KEYDOWN h
MACRO MBUTTONDOWN BUTTON_LEFT
KEYDOWN h
MACRO MBUTTONUP BUTTON_LEFT
KEYDOWN h
KEYUP h
but it completely disables the anti recoil.
Need help to creat a simple macro
-
- Posts: 6
- Joined: Fri Apr 02, 2021 8:01 pm
Re: Need help to creat a simple macro
any thing?!!
Re: Need help to creat a simple macro
I think it can be solved by spliting MAXIS 1 2 and MAXIS 0 2 on two different conditions.
KEYDOWN h for MAXIS 1
KEYDOWN j for MAXIS 0
Something like:
KEYDOWN h for MAXIS 1
KEYDOWN j for MAXIS 0
Something like:
Code: Select all
MACRO KEYDOWN h
MAXIS 1 2
KEYDOWN h
MACRO MBUTTONDOWN BUTTON_LEFT
KEYDOWN h
MACRO MBUTTONUP BUTTON_LEFT
KEYDOWN h
KEYUP h
MACRO KEYDOWN h
MAXIS 1 2
DELAY 100
KEYDOWN h
MACRO MBUTTONDOWN BUTTON_LEFT
KEYDOWN h
MACRO MBUTTONUP BUTTON_LEFT
KEYDOWN h
KEYUP h
Code: Select all
MACRO KEYDOWN j
MAXIS 0 2
DELAY 100
MAXIS 0 0
MACRO MBUTTONDOWN BUTTON_LEFT
KEYDOWN j
MACRO MBUTTONUP BUTTON_LEFT
KEYDOWN j
KEYUP j
-
- Posts: 6
- Joined: Fri Apr 02, 2021 8:01 pm
Re: Need help to creat a simple macro
thank u very much for ur reply
unfortunately ur config is not working at all. the problem is coming from DELAY
when i clean it or change its place to top of the MAXIS 1 2 config works (not yours) i mean like this:
MACRO KEYDOWN h
DELAY 100
MAXIS 1 2
KEYDOWN h
MACRO MBUTTONDOWN BUTTON_LEFT
KEYDOWN h
MACRO MBUTTONUP BUTTON_LEFT
KEYDOWN h
KEYUP h
this config starts to move like pixel by pixel. (not what i asked)
and about the first config u send: it does not work because of u use 2 macro loops. it does not matter if i change DELAYS place!!!
i don't know what to do anymore. this is not so complicated macro...
unfortunately ur config is not working at all. the problem is coming from DELAY
when i clean it or change its place to top of the MAXIS 1 2 config works (not yours) i mean like this:
MACRO KEYDOWN h
DELAY 100
MAXIS 1 2
KEYDOWN h
MACRO MBUTTONDOWN BUTTON_LEFT
KEYDOWN h
MACRO MBUTTONUP BUTTON_LEFT
KEYDOWN h
KEYUP h
this config starts to move like pixel by pixel. (not what i asked)
and about the first config u send: it does not work because of u use 2 macro loops. it does not matter if i change DELAYS place!!!
i don't know what to do anymore. this is not so complicated macro...
Re: Need help to creat a simple macro
You can use external software to do the macro, on gimx-launcher change input to windows events, some macro programs should work.
-
- Posts: 6
- Joined: Fri Apr 02, 2021 8:01 pm
Re: Need help to creat a simple macro
can u tell me program names? i googled this but unfortunately no results!
if anyone can tell me a software for recoil ...
its really ennoying to have such a good device but u cant use anti recoil
Macros are not that useful because it cant be lower than 1 and ...
if anyone can tell me a software for recoil ...
its really ennoying to have such a good device but u cant use anti recoil
Macros are not that useful because it cant be lower than 1 and ...
Re: Need help to creat a simple macro
I assume you are using Windows, the most widely use for that purpose is Autohotkey.
You may need to choose Input: Windows Events, on gimx-lancher.
You may need to choose Input: Windows Events, on gimx-lancher.
-
- Posts: 6
- Joined: Fri Apr 02, 2021 8:01 pm
Re: Need help to creat a simple macro
no its raspberry pi gimx. but i will look after if it has rpi version and similars ...
thank you. if u have some tools for rpi i appreciate to tell me names
thank you. if u have some tools for rpi i appreciate to tell me names