background image

“D( )” indicates a key which is held down 

“U( )” indicates to release a held-down key (used in combination with “D( )”) 

“END” indicates the end of the macro - each macro definition must have END as the last item 

The argument of the T, D, and U actions above is a keycode 

Note that you do not include the “KC_”, only the letter/key itself 

If in doubt, look at the 80 macros which are defined already 

The list of valid macro functions can be found here (scroll down a bit): 

https://github.com/tmk/tmk_keyboard/blob/master/tmk_core/doc/keymap.md

 

 
 
If you are confused by the macro definitions, note that the first macro (case 0) types 00, the 2nd 
macro (case 1) does Ctrl+A, the 4th macro (case 3) types f(x), etc. We are not really sure if there is a 
maximum number of macros allowed, so if you would like to test that and make 100+ macros please 
be our guest and let us know how it goes. 
 

When satisfied with your new firmware, simply follow the process outlined in the “Build 

Firmware” section of the TMK docs linked above. You will need to navigate to the directory 
containing the directo(ies) containing the keymap.c file and then run the make command as shown. 
 
If you do not specify a variant, you will get files that look like “mathkeeb_windows.hex” or 
“mathkeeb_my_new_version.hex” where “my_new_version” is the name of the directory containing 
the keymap.c file you created. 
 

NOTE:

 In Windows, you will need to run the make command from the GNU-like terminal 

(MinGW-64 or MSYS2) you downloaded in step 1, it does NOT work from Windows Command 
Prompt or Powershell.  
 

 

 

10 

Содержание Mathkeeb

Страница 1: ...Mathkeeb Advanced User s Guide 2019 2020 edition...

Страница 2: ...Table of Contents Table of contents Welcome Getting Started page number 1 2 Reprogramming Custom Firmware Troubleshooting 3 5 10 1...

Страница 3: ...you ve decided to take the next step and download the Advanced Users Kit With this kit you will be able to load different hex files onto the keyboard s controller allowing it to speak different langu...

Страница 4: ...pressing a few buttons The first button is located on the Mathkeeb itself To access this button flip the keyboard over and set it down on its keys You should see a small pinhole near the usb port at...

Страница 5: ...rd Finally you can press the third button with the green arrow pointing to the right to reboot the keyboard NOTE you will have to unplug the Mathkeeb and plug it back in to turn it back on You should...

Страница 6: ...Firmware Builder Why these recommendations The Linux MacOS version of Mathkeeb s firmware types certain symbols using Unicode input This option while supported by the TMK firmware base is not availab...

Страница 7: ...ate to the SETTINGS tab Here you can rename your new layout and download a new json file using the Save Configuration button NOTE always save your json file It will be required if you wish to edit you...

Страница 8: ...y and you will need the Teensy Loader to flash any new hex files onto Mathkeeb this is covered in the Reprogramming section above You do not need to bother with Step 2 as all of the source files for M...

Страница 9: ...c files using VSCode There are different types of keycodes Ones beginning with KC_ are letters or symbols that would appear on a normal keyboard KC_TRANS indicates that the key is transparent and will...

Страница 10: ...ound here https github com tmk tmk_keyboard blob master tmk_core doc keymap md The same keymap c file showing some of the macro definitions Macros are defined in the switch statement after the layer m...

Страница 11: ...types f x etc We are not really sure if there is a maximum number of macros allowed so if you would like to test that and make 100 macros please be our guest and let us know how it goes When satisfie...

Страница 12: ...layer and that your layer toggle functions are on the right keys Q Key is acting like it s held down even though I only pressed it once A Double check your macros You may have accidentally used the h...

Отзывы: