-
Notifications
You must be signed in to change notification settings - Fork 270
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding keyBlock capability to support Programmmer's Dvorak
- Useful for partial redefinitions of keys Such as redefining Shift, which, as per the USB spec is handled by the OS This means we have to careful select which USB Codes to send to the OS to simulate Shift not being pressed (while it is) - KLL capabilities only work with numerical arguments (KLL 0.3d) - Each key must be explicitly block for each combination (e.g. LShift and RShift are handled separately) - Adding example configuration for the Infinity 60% - Requires kll.git 1a078b2 or higher
- Loading branch information
Showing
3 changed files
with
150 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
#!/usr/bin/env bash | ||
# This script shows how to use a complex multi-file layout such as Programmer's Dvorak | ||
# Jacob Alexander 2016 | ||
|
||
|
||
|
||
################# | ||
# Configuration # | ||
################# | ||
|
||
# Feel free to change the variables in this section to configure your keyboard | ||
|
||
BuildPath="IC60" | ||
|
||
## KLL Configuration ## | ||
|
||
# Generally shouldn't be changed, this will affect every layer | ||
BaseMap="scancode_map" | ||
|
||
# This is the default layer of the keyboard | ||
# NOTE: To combine kll files into a single layout, separate them by spaces | ||
# e.g. DefaultMap="mylayout mylayoutmod" | ||
DefaultMap="programmers_dvorak_default stdFuncMap" | ||
|
||
# This is where you set the additional layers | ||
# NOTE: Indexing starts at 1 | ||
# NOTE: Each new layer is another array entry | ||
# e.g. PartialMaps[1]="layer1 layer1mod" | ||
# PartialMaps[2]="layer2" | ||
# PartialMaps[3]="layer3" | ||
PartialMaps[1]="programmers_dvorak_shift" | ||
|
||
|
||
|
||
########################## | ||
# Advanced Configuration # | ||
########################## | ||
|
||
# Don't change the variables in this section unless you know what you're doing | ||
# These are useful for completely custom keyboards | ||
# NOTE: Changing any of these variables will require a force build to compile correctly | ||
|
||
# Keyboard Module Configuration | ||
ScanModule="Infinity_60%" | ||
MacroModule="PartialMap" | ||
OutputModule="pjrcUSB" | ||
DebugModule="full" | ||
|
||
# Microcontroller | ||
Chip="mk20dx128vlf5" | ||
|
||
# Compiler Selection | ||
Compiler="gcc" | ||
|
||
|
||
|
||
######################## | ||
# Bash Library Include # | ||
######################## | ||
|
||
# Shouldn't need to touch this section | ||
|
||
# Check if the library can be found | ||
if [ ! -f cmake.bash ]; then | ||
echo "ERROR: Cannot find 'cmake.bash'" | ||
exit 1 | ||
fi | ||
|
||
# Load the library | ||
source cmake.bash | ||
|
This file contains 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
This file contains 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