forked from vial-kb/vial-qmk
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Start Svalboard-specific firmware features documentation (#56)
* Start Svalboard-specific firmware feature documentation * Write automouse allowed keycodes as text, minor text changes
- Loading branch information
Showing
3 changed files
with
70 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,65 @@ | ||
# Svalboard firmware features | ||
|
||
This page describes the custom keycodes, layers and other functions of the Svalboard fork of vial-qmk. | ||
|
||
*Note:* The firmware is rapidly changing and many features have not been thoroughly tested in combination with each other. If you see unexpected behavior, please open an issue on Github or post in the `svalboard` Discord. | ||
|
||
## Quickstart | ||
Once you have installed Vial and connected your Svalboard, you can open a list of user keybindings in the bottom panel: | ||
|
||
![User keys](./user_keys.png) | ||
|
||
Hover over each keybinding to see a brief description. To map it to a Svalboard key, select a layer (0 - 15), click a physical key, then click the keybinding. | ||
|
||
## Automouse mode | ||
If you move your pointing device the Svalboard will switch to Layer 15 by default. The indicator LEDs will turn magenta, and some of the keys act as mouse buttons. | ||
|
||
You can exit this mode by hitting any key not mapped to a mouse button or pointing device feature. | ||
|
||
*Note:* Many of the keybindings will not work on the automouse layer, due to the way the key events are processed. A keycode must be in the following set to not exit the automouse layer (as of commit 226e1200cf826ff17ee65899a6ad0e3d3b751ee1): | ||
|
||
```c | ||
switch (keycode) { | ||
case KC_BTN1: | ||
case KC_BTN2: | ||
case KC_BTN3: | ||
case KC_BTN4: | ||
case KC_BTN5: | ||
case KC_WH_U: | ||
case KC_WH_D: | ||
case KC_WH_R: | ||
case KC_WH_L: | ||
case KC_LSFT: | ||
case KC_RSFT: | ||
case KC_LCTL: | ||
case KC_RCTL: | ||
case KC_LALT: | ||
case KC_RALT: | ||
case KC_LGUI: | ||
case KC_RGUI: | ||
case SV_SNIPER_2: | ||
case SV_SNIPER_3: | ||
case SV_SNIPER_5: | ||
case SV_RECALIBRATE_POINTER: | ||
break; | ||
``` | ||
This can easily be changed by modifying the `switch` statement visible above in `process_record_kb()` in [keymap_support.c](../keymaps/keymap_support.c). Ask on the Discord for more info. | ||
### Auto-exit timer | ||
[TODO] | ||
### Trackpoint recalibration | ||
If your mouse pointer begins to drift, try recalibrating the zero by hitting 'down' on one of the pinkies, which by default will activate `SV_RECALIBRATE_POINTER`. | ||
### Activation threshold | ||
[TODO] | ||
## Sniper mode | ||
[TODO] | ||
## Scroll-mode lock | ||
[TODO] | ||
## Pointer DPI adjustment | ||
[TODO] |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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