Page 1 of 1

Does RPI support Macros?

Posted: Thu Apr 11, 2013 7:41 am
by Liuser
I get a segmentation fault with a macro configured in ~/.emuclient/macros

I created a configs.txt file in that directory, and wrote a line associated with the .xml config and macro to use when it is loaded.

Do macros work on raspberry pi?

Re: Does RPI support Macros?

Posted: Thu Apr 11, 2013 9:23 am
by Matlo
This is probably not related to the RPI.

Please post the content of your macro file and the content of the config.txt file.

Re: Does RPI support Macros?

Posted: Thu Apr 11, 2013 3:27 pm
by Liuser
Oops, you are correct. I understood the syntax wrong. The macro is working as intended now. Thank you.

Re: Does RPI support Macros?

Posted: Thu Apr 11, 2013 5:06 pm
by Matlo
What was wrong?

Re: Does RPI support Macros?

Posted: Fri Apr 12, 2013 4:19 am
by Liuser
I was working off example in the wiki, and did not fully understand a few things

Code: Select all

MACRO MBUTTONDOWN BUTTON_LEFT
KEYDOWN p
DELAY 50
KEYUP p
DELAY 50
MBUTTONDOWN BUTTON_LEFT
I did not have 'p' mapped to anything in my config file. And I thought BUTTON_LEFT was an arbitrary ID name you were giving it.

Re: Does RPI support Macros?

Posted: Fri Apr 12, 2013 5:16 pm
by Matlo