Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Macro examples #23

Closed
f4k3-pixel opened this issue May 9, 2020 · 4 comments
Closed

Macro examples #23

f4k3-pixel opened this issue May 9, 2020 · 4 comments

Comments

@f4k3-pixel
Copy link

First of all, thanks for this awesome project!

If possible can you share more macro examples?
Also, can others share their respective config files?

Some more macro examples will be helpful, as I didn't quite get how to create some types of macros

@pixeltris
Copy link
Owner

My config file is extremely simple, I only map the 'Pause' key on my GK84 to 'Delete'.

Is there a specific macro you would like an example of? Here's a couple of macros other people have used:

#20 (comment)
#9 (comment)

@f4k3-pixel
Copy link
Author

For example, a macro for pressing Ctrl+x and then Ctrl+s
A few more examples would be beneficial as I found out that I can do
Backslash:LAlt+Tab
a lot later than I should. If such an example was included in the docs, it'd have been helpful :D

@pixeltris
Copy link
Owner

pixeltris commented May 13, 2020

This will map the Q key to do Ctrl+X, Ctrl+S with no delay between the two presses.

[Macro(QuickCutSave)]
Press:LCtrl+X
Press:LCtrl+S

[FnLayer3]
Q:Macro(QuickCutSave)

You could do something like [Macro(QuickCutSave, 1000)] if you wanted a 1 second delay between the Ctrl+X and the Ctrl+S.... though just trying that now all delays seem to register at half the duration.

I will add the Backslash:LAlt+Tab thing to the samples.

I have added the mentioned macros / key mapping to the sample. I also added this key mapping sample showing multiple key modifiers:

# This will map Fn+W to LCtrl+LAlt+Delete on layer3
[FnLayer3]
W:LCtrl+LAlt+Delete

@f4k3-pixel
Copy link
Author

Thanks for the example! I understood my mistake :D
I need a slight delay (C-x C-s is save in Emacs 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants