#Defines the action that triggers the macro execution
MACRO F1
#Performs a keystroke (key down + delay 50ms + key up)
KEY e
#Sleep 50ms
DELAY 50
#Perform a key down
KEYDOWN SPACE
#Sleep 50ms (minimum delay between KEYDOWN and KEYUP)
DELAY 50
#Perform a key up
KEYUP SPACE
I already replaced MACRO F1 with my L1 button MACRO JBUTTONDOWN 14
without success.
The keys used in the macro do not match any control mapping in your config, which means that even if the macro is started, there will be no resulting action.
I thought to debug GIMX in eclipse till it loads the macros.txt in /home/user/.gimx/macros/ and reads the line with my macro file. Perhaps the path is wrong or something is with my syntax.
I followed the Development_on_Linux guide but also need to install wxwidgets under Linux Mint with this guides http://wiki.wxwidgets.org/Installing_an ... der_Ubuntu http://wiki.wxwidgets.org/Eclipse
So all the unresolved wx/... inclusion errors went away in eclipse.
Now I try to build GIMX in eclipse by clicking "Build Project" but got this missing GE.h error.
make all
Building file: ../shared/event/test/GE_test.c
Invoking: GCC C Compiler
gcc -O0 -g3 -Wall -c -fmessage-length=0 `wx-config --cflags` -MMD -MP -MF"shared/event/test/GE_test.d" -MT"shared/event/test/GE_test.d" -o "shared/event/test/GE_test.o" "../shared/event/test/GE_test.c"
In file included from ../shared/event/test/GE_test.c:15:0:
../shared/event/test/common.h:11:16: fatal error: GE.h: File or dir not found
#include <GE.h>
^
compilation terminated.
make: *** [shared/event/test/GE_test.o] Error 1
I excluded this path. And got the next error with missing controller2.h. Do you have a correct run configuration? So I can run with the debugger through the code of macros.c.