Last active
March 8, 2016 16:07
-
-
Save NTICompass/1304f7cc9360bfa4b329 to your computer and use it in GitHub Desktop.
Soarer Converter - Model M Remap
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ifset set3 | |
# Model M 1394100 | |
remapblock | |
# Fix the symbol keys | |
#LEFT_BRACE UNASSIGNED # cents key | |
# I want to macro the cents key, so I need an unused keycode | |
LEFT_BRACE AUX1 | |
RIGHT_BRACE BACKSLASH # | \ key | |
EUROPE_1 RIGHT_BRACE # > < key | |
EUROPE_2 LEFT_BRACE # } { Key | |
# These are the 4 keys along the top of the numpad | |
ESC NUM_LOCK | |
NUM_LOCK PAD_SLASH | |
SCROLL_LOCK PAD_ASTERIX | |
EXTRA_SYSRQ PAD_MINUS | |
# The 3 buttons along the right side | |
PAD_ASTERIX MEDIA_CALCULATOR | |
PAD_MINUS PAD_PLUS | |
PAD_PLUS PAD_ENTER | |
# The 10 keys on the left | |
EXTRA_F1 EXTRA_SYSRQ #SYSREQ_ATTN | |
EXTRA_F2 ESC | |
EXTRA_F3 MEDIA_VOLUME_UP | |
EXTRA_F4 PRINTSCREEN | |
# EXTRA_F5 | |
EXTRA_F6 F1 | |
EXTRA_F7 MEDIA_VOLUME_DOWN | |
EXTRA_F8 MEDIA_PLAY_PAUSE | |
EXTRA_F9 MEDIA_PREV_TRACK | |
EXTRA_F10 MEDIA_NEXT_TRACK | |
# The "Rule" key between the arrows | |
# is now the Windows Key | |
LANG_4 RGUI | |
endblock | |
macroblock | |
# Make the "print" key open the print dialog | |
macro EXTRA_F5 | |
PUSH_META CLEAR_META all | |
SET_META LCTRL | |
PRESS p | |
POP_ALL_META | |
endmacro | |
# The "cents" key can type the "cents" symbol | |
macro AUX1 | |
# https://en.wikipedia.org/wiki/Cent_(currency) | |
PUSH_META CLEAR_META all | |
SET_META LALT | |
PRESS PAD_1 | |
PRESS PAD_5 | |
PRESS PAD_5 | |
POP_ALL_META | |
endmacro | |
endblock |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment