-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Feature Overview. Add sections for Dynamic Macros, Mouse Keys. Ad…
…d styling, including print. Edit for clarity.
- Loading branch information
Showing
28 changed files
with
591 additions
and
1,261 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,23 @@ | ||
doctype html | ||
- var version = 0.2 | ||
html(lang="en") | ||
head | ||
title QMK Cheatsheet | ||
title QMK Firmware Cheatsheet #{version} | ||
script(src='bower/prism/prism.js') | ||
script(src='bower/prism/components/prism-c.js') | ||
link(rel='stylesheet', href='styles/vendor.css') | ||
link(rel='stylesheet', href='styles/app.css') | ||
|
||
body | ||
h1 QMK Cheatsheet | ||
main | ||
include pages/layer | ||
include pages/feature-overview | ||
include pages/layers | ||
include pages/modifiers | ||
include pages/macros | ||
include pages/dynamic-macros | ||
include pages/tap-dance | ||
include pages/mouse | ||
include pages/leader | ||
footer. | ||
Version 0.1 by Jay Liu | ||
Version #{version} by Jay Liu | ||
#[a(href="https://github.com/jayliu50/qmk-cheatsheet/issues" target="_blank") Report Issues] |
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 @@ | ||
section | ||
a(name="dynamic-macros") | ||
h2 Dynamic Macros | ||
a(href="https://docs.qmk.fm/dynamic_macros.html" target="_blank") Full Documentation | ||
|
||
.intro | ||
p Record and play keystrokes | ||
|
||
.block | ||
h3 Step 1: Setup | ||
|
||
aside include this snippet in keymap.c | ||
pre | ||
code.language-c. | ||
enum planck_keycodes { | ||
QWERTY = SAFE_RANGE, | ||
COLEMAK, | ||
DVORAK, | ||
PLOVER, | ||
LOWER, | ||
RAISE, | ||
BACKLIT, | ||
EXT_PLV, | ||
DYNAMIC_MACRO_RANGE, | ||
}; | ||
|
||
// this is called when dynamic macro buffer is full | ||
void backlight_toggle(void) { | ||
// INSERT CODE HERE: for example, call function to turn on indicator LED. | ||
} | ||
|
||
#include "dynamic_macro.h"` | ||
|
||
.block | ||
h3 Step 2: Use | ||
aside in keymap.c, in your KEYMAP() | ||
|
||
table | ||
tr | ||
td Keycode #[aside to be added to your call to KEYMAP()] | ||
td Description | ||
tr | ||
td | ||
pre | ||
code.language-c. | ||
DYN_REC_START1 | ||
td start recording the macro 1 | ||
tr | ||
td | ||
pre | ||
code.language-c. | ||
DYN_REC_START2 | ||
td start recording the macro 2 | ||
tr | ||
td | ||
pre | ||
code.language-c. | ||
DYN_MACRO_PLAY1 | ||
td replay the macro 1 | ||
tr | ||
td | ||
pre | ||
code.language-c. | ||
DYN_MACRO_PLAY2 | ||
td replay the macro 2 | ||
tr | ||
td | ||
pre | ||
code.language-c. | ||
DYN_REC_STOP | ||
td finish the macro that is currently being recorded. |
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,32 @@ | ||
section.feature-overview | ||
h1 QMK Firmware | ||
|
||
ul.features | ||
.feature | ||
a(href="#layers") | ||
span Up to 32 layers | ||
aside Flexibly specify how to transition among layers. | ||
.feature | ||
a(href="#modifiers") | ||
span Modifiers | ||
aside Re-assign and combine modifiers; combine modifier and keycode into a single key. | ||
.feature | ||
a(href="#macros") | ||
span Macros | ||
aside Pack entire sequences of key strokes into one. | ||
.feature | ||
a(href="#dynamic-macros") | ||
span Dynamic Macros | ||
aside Record and play back keystrokes on the fly. | ||
.feature | ||
a(href="#tap-dance") | ||
span Tap Dance | ||
aside The number of times a key is tapped determines the keycode or action. | ||
.feature | ||
a(href="#leader") | ||
span Leader Key | ||
aside Send keycode or perform action based on sequence of keys pressed. | ||
.feature | ||
a(href="#mouse") | ||
span Mouse Keys | ||
aside Control mouse and its buttons. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
section | ||
a(name="leader") | ||
h2 Leader | ||
a(href="https://docs.qmk.fm/leader_key.html" target="_blank") Full Documentation | ||
|
||
.intro | ||
p Coming soon |
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
Oops, something went wrong.