Can I get some help with macros? I looked through all the examples in the download, and through the docs. I have a couple issues I can't seem to solve:
1: If I include these macros, the .sc compiles, and appears to load, but after unplugging and replugging the usb, the keyboard will just have some kind of default map. (This is an AT model F).
# Shift-SysReq = control-alt-delete
macro EXTRA_SYSRQ SHIFT
PUSH_META CLEAR_META all
SET_META LCTRL
SET_META ALT
PRESS DELETE
POP_ALL_META
endmacro
# SysReq = force quit app on mac (Command-Option-esc)
macro EXTRA_SYSRQ
PUSH_META CLEAR_META all
SET_META LGUI
SET_META ALT
PRESS ESC
POP_ALL_META
endmacro
---
I don't know if it matters, but I have mapped EXTRA_SYSRQ to PRINTSCREEN, and SCROLL_LOCK to EXTRA_SYSRQ in the default layer, prior to this point in the .sc.
Problem 2: These macros, if included, don't kill the load. They just don't work, as far as I can tell. Neither one works to replicate the mac key combo in question. In a text editor, if I hit them, I don't see any characters get inserted, but in the terminal, "5~" shows up if no shift is used (nothing shows if shift is down). This appears to happen regardless of whether the macros are pointd at PRINTSCREEN or not, so maybe this is some kind of "normal" behavior in a mac?
----
macroblock
# Shift-PrintScreen = screen capture of entire screen on mac (cmd-shift-3)
macro PRINTSCREEN SHIFT
PUSH_META CLEAR_META all
SET_META LGUI LSHIFT
PRESS 3
POP_META
endmacro
# PrintScreen = screen capture part of screen on mac (cmd-shift-4)
macro PRINTSCREEN
PUSH_META CLEAR_META all
SET_META GUI SHIFT
PRESS 4
POP_META
endmacro
endblock
----
I'm sure it's something dumb I'm doing, so any advice would be appreciated.
--