mirror of
https://github.com/qmk/qmk_firmware
synced 2025-12-04 16:25:39 -05:00
Page:
Keymap examples
Pages
Adding features to QMK
Becoming a QMK Collaborator
Build Environment Setup
Compatible Microcontrollers
Custom Quantum Functions
Differences from TMK
Eclipse
Embedding
FAQ Build
FAQ Keymap
FAQ
Git subtree
HHKB Alt controller
Home
Key Functions
Keycodes
Keymap examples
Keymap
Leader Key
License Clarification Details
License Clarification
Macros
Make Instructions
Memory write error, use debug for more info
Modding your keyboard
Mouse keys
Other Projects
Porting Your Keyboard to QMK (ARM and other ChibiOS CPUs)
Porting your keyboard to QMK
QMK Overview
README
Report Descriptor
Space Cadet Shift
TMK Based Projects
TMK Own Projects
Tap Dance
USB HID
Unicode and additional language support
Unit testing
mbed cortex porting
No results
6
Keymap examples
skullydazed edited this page 2017-02-16 17:09:12 -08:00
Share your keymap idea here!
https://github.com/tmk/tmk_keyboard/issues/265
Reverse-shifted for numbers
With pressing Shift and '1' key you get 1 while with just '1' key you get !.
KBT Pure layout
Keymap code on Alps64
thisisshi/tmk_keyboard@15fe63e8d1/keyboard/alps64/keymap_pure.c
and guide.
thisisshi/tmk_keyboard@77ac0805ad/keyboard/alps64/Guide.md
Prevent stuck modifiers
Consider the following scenario:
- Layer 0 has a key defined as Shift.
- The same key is defined on layer 1 as the letter A.
- User presses Shift.
- User switches to layer 1 for whatever reason.
- User releases Shift, or rather the letter A.
- User switches back to layer 0.
Shift was actually never released and is still considered pressed.
If such situation bothers you add this to your config.h:
#define PREVENT_STUCK_MODIFIERS
This option uses 5 bytes of memory per every 8 keys on the keyboard rounded up (5 bits per key). For example on Planck (48 keys) it uses (48/8)*5 = 30 bytes.
- Wiki Home
- Getting started
- Overview for keymap creators
- Keycodes
- Layer switching
- Leader Key
- Macros
- Space Cadet
- Tap Dance
- Mouse keys
- FAQ: Creating a Keymap
- FAQ: Compiling QMK
- For hardware makers and modders
- General FAQ