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.

ergodox_programmers_dvorak.bash 2.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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 2015-2016
  4. #################
  5. # Configuration #
  6. #################
  7. ######## Left Side ########
  8. # Feel free to change the variables in this section to configure your keyboard
  9. BuildPath="ICED-L"
  10. ## KLL Configuration ##
  11. # Generally shouldn't be changed, this will affect every layer
  12. BaseMap="scancode_map leftHand slave1 rightHand"
  13. # This is the default layer of the keyboard
  14. # NOTE: To combine kll files into a single layout, separate them by spaces
  15. # e.g. DefaultMap="mylayout mylayoutmod"
  16. DefaultMap="programmers_dvorak_default lcdFuncMap"
  17. # This is where you set the additional layers
  18. # NOTE: Indexing starts at 1
  19. # NOTE: Each new layer is another array entry
  20. # e.g. PartialMaps[1]="layer1 layer1mod"
  21. # PartialMaps[2]="layer2"
  22. # PartialMaps[3]="layer3"
  23. PartialMaps[1]="programmers_dvorak_shift"
  24. ##########################
  25. # Advanced Configuration #
  26. ##########################
  27. # Don't change the variables in this section unless you know what you're doing
  28. # These are useful for completely custom keyboards
  29. # NOTE: Changing any of these variables will require a force build to compile correctly
  30. # Keyboard Module Configuration
  31. ScanModule="Infinity_Ergodox"
  32. MacroModule="PartialMap"
  33. OutputModule="pjrcUSB"
  34. DebugModule="full"
  35. # Microcontroller
  36. Chip="mk20dx256vlh7"
  37. # Compiler Selection
  38. Compiler="gcc"
  39. ########################
  40. # Bash Library Include #
  41. ########################
  42. # Shouldn't need to touch this section
  43. # Check if the library can be found
  44. if [ ! -f cmake.bash ]; then
  45. echo "ERROR: Cannot find 'cmake.bash'"
  46. exit 1
  47. fi
  48. # Load the library
  49. source cmake.bash
  50. #########################
  51. # Re-run for right side #
  52. #########################
  53. ######## Right Side ########
  54. # Feel free to change the variables in this section to configure your keyboard
  55. BuildPath="ICED-R"
  56. ## KLL Configuration ##
  57. # Only changing the basemap (everything else is the same)
  58. # Generally shouldn't be changed, this will affect every layer
  59. BaseMap="defaultMap rightHand slave1 leftHand"
  60. # Load the library (starts the build)
  61. source cmake.bash