Soarer's converter special key mappings

Evan

12 Apr 2019, 05:10

Hey all, new here and glad to be a part of the forum. I had a question about mapping unique characters with my soarer's converter. I have an F 122 and I wanted to map one of the keys to output a cent symbol and then when shift is pressed output an enye but I'm not sure how to do this. I can map the first output using a macro to type the alt + numpad combo, but when I try to map a second macro to the same key + shift the converter seems to ignore that macro. Is there a different way to go about this or am I doing something wrong? Is this possible to do?

Thanks in advance.

edlee

09 May 2020, 04:14

Always specify which modifier keys should not be used with a macro with a minus sign, like:

Code: Select all

macroblock

  # Pressing LEFT SHIFT with PAD_MINUS activates the Colemak keyboard layout.
  macro PAD_MINUS LSHIFT -RSHIFT -ctrl -alt -gui
    push_meta clear_meta all
    press SELECT_0  # Clear any previous keyboard layout selection
    press SELECT_1  # Activate the SELECT_1 keyboard layout, Colemak
    pop_all_meta
  endmacro

  # Pressing LEFT CTRL with PAD_MINUS activates the Dvorak keyboard layout.
  macro PAD_MINUS LCTRL -RCTRL -shift -alt -gui
    push_meta clear_meta all
    press SELECT_0  # Clear any previous keyboard layout selection
    press SELECT_2  # Activate the SELECT_2 keyboard layout, Dvorak
    pop_all_meta
  endmacro

  # Pressing LEFT ALT with PAD_MINUS resets all keyboard layout selections
  # and returns to the default keyboard layout.
  macro PAD_MINUS LALT -RALT -ctrl -shift -gui
    push_meta clear_meta all
    press SELECT_0  # Clear any previous keyboard layout selection
    pop_all_meta
  endmacro
  
endblock

# The contents of the sample, "colemak.sc", and, "dvorak.sc", files are
# included here for easy adjustment.

ifselect 1

# Colemak keyboard layout.
# Holding down the LEFT SHIFT key and then pressing the PAD_MINUS key
# activates the Select 1 state and the Colemak keyboard layout
# which stays active until you switch to another keyboard layout.

remapblock
	D S
	E F
	F T
	G D
	I U
	J N
	K E
	L I
	N K
	O Y
	P SEMICOLON
	R P
	S R
	T G
	U L
	Y J
	SEMICOLON O
endblock


ifselect 2

# Dvorak keyboard layout - contributed by Morning Song.
# Holding down the LEFT CTRL key and then pressing the PAD_MINUS key
# activates the Select 2 state and the Dvorak keyboard layout
# which stays active until you switch to another keyboard layout.

remapblock
	MINUS		LEFT_BRACE
	EQUAL		RIGHT_BRACE
	Q		QUOTE
	W		COMMA
	E		PERIOD
	R		P
	T		Y
	Y		F
	U		G
	I		C
	O		R
	P		L
	LEFT_BRACE	SLASH
	RIGHT_BRACE	EQUAL
#	A		A
	S		O
	D		E
	F		U
	G		I
	H		D
	J		H
	K		T
	L		N
	SEMICOLON	S
	QUOTE		MINUS	
	Z		SEMICOLON
	X		Q
	C		J
	V		K
	B		X
	N		B
#	M		M
	COMMA		W
	PERIOD		V
	SLASH		Z		
endblock
If I had defined the first macro without specifying which modifiers not to use, then the subsequent macros would never execute, because the first macro would run for any combination of modifier keys like Ctrl, Alt, Windows, Shift.

Post Reply

Return to “Keyboards”