Jack Humbert c966e7982c bluetooth 10 жил өмнө
..
keymaps c966e7982c bluetooth 10 жил өмнө
old_keymap_files 5d2baede8a making the extended keymap the default - no more 'common' 10 жил өмнө
Makefile c966e7982c bluetooth 10 жил өмнө
Makefile.pjrc ed8d9a099d added planck folder 11 жил өмнө
PCB_GUIDE.md 5d2baede8a making the extended keymap the default - no more 'common' 10 жил өмнө
README.md 5d2baede8a making the extended keymap the default - no more 'common' 10 жил өмнө
__avr_gdbinit b90ee43f57 files 10 жил өмнө
analog.c f7bca5c41a ok 10 жил өмнө
analog.h f7bca5c41a ok 10 жил өмнө
backlight.c 1f52d60ef1 Fixed brightness control; Reduced number of brightness levels to 4. 10 жил өмнө
beeps.c 44625de59a beeps in an if 10 жил өмнө
beeps.h ed384bd437 beeps update 10 жил өмнө
config.h c966e7982c bluetooth 10 жил өмнө
config_definitions.h 5bb7ef0012 rows to col option, maybe 10 жил өмнө
flash-pcb.sh f7bca5c41a ok 10 жил өмнө
keymap_common.c c8d58a9f19 unicode working, i think 10 жил өмнө
keymap_common.h 6ec03b2218 unicode working, i think 10 жил өмнө
keymap_midi.c c966e7982c bluetooth 10 жил өмнө
keymap_midi.h ed384bd437 beeps update 10 жил өмнө
keymap_unicode.c c8d58a9f19 unicode working, i think 10 жил өмнө
led.c 0e189b6bdd quark 10 жил өмнө
matrix.c 40148c430e BL 10 жил өмнө
matrix_steno.c 6ec03b2218 unicode working, i think 10 жил өмнө
planck_pcb.hex a230aba402 pcb hex 10 жил өмнө
planck_with_bootloader.hex c966e7982c bluetooth 10 жил өмнө

README.md

Planck keyboard firmware

DIY/Assembled compact ortholinear 40% keyboard by Ortholinear Keyboards.

OLKB Keymap

You have access to a bunch of goodies:

  • Use LSFT(), LCTL(), et. al. (listed in keymap_common.h) as modifiers for keys (daisy-chain-able)
  • Use FUNC(1) instead of FN1 (etc.) to access the function layers beyond the 32 function layer limit
  • Use CM_F instead of KC_F to get the ColeMak equivilent for shortcuts (maps backwards)
  • Use MACRODOWN() instead of MACRO() to easily make a keydown macro (CM_* works here too)

Some notes on usage:

  • The KEYMAP() macro is unable to be used due to the bitwise modifications that take place - refer to extended_keymap_jack.c to see how to set things up with the KC_ prefix
  • Keep an eye on the Makefile - this needs to include the correct files to work
  • Don't forget to use const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { instead of the 8bit equivilent

Build

Follow this guide to setup your development environment before anything else. Abbreviated instructions are provide at the bottom of this document

Download the whole firmware here and navigate to the keyboard/planck folder. Once your dev env is setup, you'll be able to type make to generate your .hex that you can load with the Teensy app onto your Planck (once you've hit reset/shorted GND & RST).

Depending on which keymap you would like to use, you will have to compile slightly differently.

####Default To build with the default keymap, simply move to the tmk_keyboard/keyboard/planck/ and run make as follows:

$ make

Keymap

Several version of keymap are available in advance but you are recommended to define your favorite layout yourself. To define your own keymap create file named keymap_<name>.c and see keymap document (you can find in top README.md) and existent keymap files.

####Keymaps

To build the firmware binary hex file with an extended keymap just do make with KEYMAP option like:

$ make KEYMAP=[default|jack|<name>]

The only applicable keymaps will work with this option. Keymaps follow the format keymap_<name>.c and are stored in the keymaps folder.

Notable TMK forks (which some of the keymap files are from)