

If your Soarer tools work then it's just a matter of using these commands to do it:ghostdawg187 wrote: ↑ ii.) Assume I have manged to produce a vaild .sc-file, how do I proceed further under linux, so that my remap file will be applied by the converter?
Code: Select all
scas myconfig.sc tinkerboy.bc
scwr tinkerboy.bc
I have decided to work on Windows. Is your quoted part the same syntax for Windows using tinkerboy's converter? If not, what is the correct syntax?JBert wrote: ↑At least, that's all it takes me to do so on Windows.Code: Select all
scas myconfig.sc tinkerboy.bc scwr tinkerboy.bc
Code: Select all
remapblock
layer 0
num_lock select_1 # Toggle numpad to navigation block
endblock
ifselect 1
remapblock
layer 0
pad_1 end
pad_2 down
pad_3 page_down
pad_4 left
pad_5 pad_5
pad_6 right
pad_7 home
pad_8 up
pad_9 page_up
pad_0 ralt
endblock
Soarer's converters allow remapping keys, and allow defining more than one remapping PER key. This is done in groups of remappings called layers: layer 0 is the base layer and others go "on top" of it, and the remapping that will be used is the "topmost" one.ghostdawg187 wrote: ↑Thank you very much for your help, Muirium. I am really sorry for my silly questions. I am not quite sure what the part "layer 0" does. In the first part you assign "select_1" to num_lock. Then you define what is being remapped whenever you enter "select_1". But in both cases, what does "layer 0"?
Code: Select all
# General purpose, agnostic winkeyless and winkeyed PC keyboards
# Press Scroll Lock to toggle modifier layout
# Press Num Lock to engage Numpad navigation mode, PC style
# Both Insert and App key are Fn
# NMB Space Invader:
# Keyboard ID: AB83
# Code Set: 2 (extended)
# Mode: AT/PS2
# Same as winkeyed Cherry G8-3000. Maybe use a select to toggle win/winkeyless?
layerblock
fn1 1
endblock
# Assume winkeyless, but toggle on Scroll Lock
remapblock
layer 0
insert fn1
caps_lock lctrl
lctrl lalt
lalt lgui
ralt rgui
rctrl ralt
num_lock select_1 # Toggle numpad to navigation block
scroll_lock select_2 # Winkeyed mods mode
endblock
remapblock
layer 1
left_brace up
semicolon left
quote right
slash down
l page_up
period page_down
k home
comma end
a volume_down
s volume_up
d mute
backspace delete
1 f1
2 f2
3 f3
4 f4
5 f5
6 f6
7 f7
8 f8
9 f9
0 f10
minus f11
equal f12
endblock
macroblock
# Mac app window cycling, 60% style
macro esc lgui -ctrl -alt
press back_quote
endmacro
# Shift + Shift = Caps Lock
macro lshift rshift
press caps_lock
endmacro
macro rshift lshift
press caps_lock
endmacro
endblock
# Swapped mods mode for Winkeyed boards
ifselect 2
remapblock
layer 0
num_lock select_1 # Toggle numpad to navigation block
endblock
# Numpad nav block - toggle with Num Lock
ifselect 1
remapblock
layer 0
pad_1 end
pad_2 down
pad_3 page_down
pad_4 left
pad_5 pad_5
pad_6 right
pad_7 home
pad_8 up
pad_9 page_up
pad_0 ralt
endblock
Code: Select all
# We remap some keys
remapblock
F6 LGUI # F6 is now the left win-key
CAPS_LOCK RALT # CapsLock is now AltGr
BACK_QUOTE BACKSLASH # swap backquote and backslash
BACKSLASH BACK_QUOTE
# implement navigation cluster
PAD_1 END
PAD_2 DOWN
PAD_3 PAGE_DOWN
PAD_4 LEFT
PAD_5 ENTER
PAD_6 RIGHT
PAD_7 HOME
PAD_8 UP
PAD_9 PAGE_UP
PAD_PERIOD DELETE
SCROLL_LOCK APP # scrolllock is now menu-key
endblock
# regardless in which ifselect we are, numlock is the key
# to toggle SELECT_1
ifselect any
remapblock
NUM_LOCK SELECT_1
endblock
# definitions when SELECT_1 is active
ifselect 1
remapblock
# restore numpad
PAD_1 1
PAD_2 2
PAD_3 3
PAD_4 4
PAD_5 5
PAD_6 6
PAD_7 7
PAD_8 8
PAD_9 9
PAD_0 0
PAD_PERIOD PERIOD
# have some navigation, also could address these with FN-layers
W UP
A LEFT
S DOWN
D RIGHT
Q HOME
Z END
E PAGE_UP
C PAGE_DOWN
endblock
Code: Select all
remapblock
BACK_QUOTE EUROPE_2 # Get non-US backslash working
EXTRA_SYSRQ LGUI # Make SysReq work as Windows key (BTC)
UNASSIGNED LGUI # Make SysReq work as Windows key (Datacomp)
PAD_PLUS PAD_ENTER # Make + on num pad into a return key
PAD_MINUS PAD_PLUS # Make - on num pad into a + key
endblock
ifset set1 set2
macroblock
# pause macro
macro NUM_LOCK ctrl
PUSH_META CLEAR_META ctrl
PRESS PAUSE
POP_META
endmacro
# Num printscreen macro
macro PAD_ASTERIX shift
PUSH_META CLEAR_META shift
PRESS PRINTSCREEN
POP_META
endmacro
# break macro
macro SCROLL_LOCK ctrl
PRESS PAUSE
endmacro
macro CAPS_LOCK # Make F9 and F10 work as F11 and F12 if caps lock is on
PUSH_META CLEAR_META
Press CAPS_LOCK # Normal caps lock operation
Press SELECT_1 # Also set flag of its status
POP_META
endmacro
endblock
ifselect 1 # If caps lock on ...
remapblock
F9 F11 # re-map F9
F10 F12 # and F10
endblock
# reset conditionals in case this file is included from another file
ifset any
ifkeyboard any
ifselect any
Code: Select all
macroblock
# macro count: 3
macro EXTRA_F5 # Cursor Sel -
MAKE LSHIFT
PRESS HOME
BREAK LSHIFT
endmacro
macro EXTRA_F6 # ExSel
MAKE LSHIFT
PRESS END
BREAK LSHIFT
endmacro
macro EXTRA_F8 # Erase EOF
MAKE LSHIFT
PRESS END
PRESS DELETE
BREAK LSHIFT
endmacro
endblock
remapblock
layer 0
# count: 13
EXTRA_F1 ESC
EXTRA_F2 ESC
EUROPE_1 ENTER
EUROPE_2 LSHIFT
LANG_4 DOWN
ESC PRINTSCREEN
NUM_LOCK PAD_SLASH
SCROLL_LOCK PAD_ASTERIX
EXTRA_SYSRQ PAD_MINUS
PAD_ASTERIX PAD_PLUS
PAD_MINUS PAD_PLUS
PAD_PLUS PAD_ENTER
EXTRA_F10 RGUI
endblock
Code: Select all
# Soarer Converter's configuration for an IBM Model M P/N 1391401 keyboard,
# where the numpad has been made into into a 19-key pad (only the Enter key
# remains 2U).
#
# Author: Depleted Vespene.
# Date: 20190105.
# Version: 1.0.
#
##### BEGIN ########
macroblock
# The MUTE function is too useful to not have readily available.
macro CAPS_LOCK ctrl
PUSH_META CLEAR_META ctrl
PRESS MEDIA_MUTE
POP_META
endmacro
# Num Lock needs to be available, but doesn't deserve an assignment in
# the base layer.
macro SCROLL_LOCK ctrl
PUSH_META CLEAR_META ctrl
PRESS NUM_LOCK
POP_META
endmacro
# On my national layout, Shift-0 produces the '=' character. Adjust this
# as needed for others.
macro PAD_EQUALS
PUSH_META CLEAR_META all
MAKE LSHIFT
PRESS 0
BREAK LSHIFT
POP_ALL_META
endmacro
endblock
remapblock
NUM_LOCK PAD_EQUALS # See above.
PAD_COMMA TAB # Former lower half of the 2U numpad+ key; the upper half remains PAD_PLUS.
EXTRA_INSERT PAD_0 # Former LEFT half of the 2U numpad0 key.
PAD_0 COMMA # Former RIGHT half of the 2U numpad0 key.
# Bonus: on my national layout, Shift-, produces the ';' character. With
# the direct remapping above, pressing Shift-(left-side)PAD_0 has the same
# effect. Replace with a macro if needed.
endblock
##### END ##########
Whoever wants to work under Linux should follow the instructions provided in this post:ghostdawg187 wrote: ↑19 Oct 2018, 15:23ii.) Assume I have manged to produce a vaild .sc-file, how do I proceed further under linux, so that my remap file will be applied by the converter?