Kiibohd Controller
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

infinity_programmers_dvorak.bash 1.6KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. #!/usr/bin/env bash
  2. # This script shows how to use a complex multi-file layout such as Programmer's Dvorak
  3. # Jacob Alexander 2016
  4. #################
  5. # Configuration #
  6. #################
  7. # Feel free to change the variables in this section to configure your keyboard
  8. BuildPath="IC60"
  9. ## KLL Configuration ##
  10. # Generally shouldn't be changed, this will affect every layer
  11. BaseMap="scancode_map"
  12. # This is the default layer of the keyboard
  13. # NOTE: To combine kll files into a single layout, separate them by spaces
  14. # e.g. DefaultMap="mylayout mylayoutmod"
  15. DefaultMap="programmers_dvorak_default stdFuncMap"
  16. # This is where you set the additional layers
  17. # NOTE: Indexing starts at 1
  18. # NOTE: Each new layer is another array entry
  19. # e.g. PartialMaps[1]="layer1 layer1mod"
  20. # PartialMaps[2]="layer2"
  21. # PartialMaps[3]="layer3"
  22. PartialMaps[1]="programmers_dvorak_shift"
  23. ##########################
  24. # Advanced Configuration #
  25. ##########################
  26. # Don't change the variables in this section unless you know what you're doing
  27. # These are useful for completely custom keyboards
  28. # NOTE: Changing any of these variables will require a force build to compile correctly
  29. # Keyboard Module Configuration
  30. ScanModule="Infinity_60%"
  31. MacroModule="PartialMap"
  32. OutputModule="pjrcUSB"
  33. DebugModule="full"
  34. # Microcontroller
  35. Chip="mk20dx128vlf5"
  36. # Compiler Selection
  37. Compiler="gcc"
  38. ########################
  39. # Bash Library Include #
  40. ########################
  41. # Shouldn't need to touch this section
  42. # Check if the library can be found
  43. if [ ! -f cmake.bash ]; then
  44. echo "ERROR: Cannot find 'cmake.bash'"
  45. exit 1
  46. fi
  47. # Load the library
  48. source cmake.bash