1
0
Fork 0
forked from forks/qmk_firmware
qmk_firmware/keyboards/bastardkb/dilemma/3x5_2/keymaps/via/readme.md
Charly Delay 30b2dbe369
Bastard Keyboards: upstream recent changes (#18903)
* bastardkb: cleanup blackpill configuration

Fixes #17

* bastardkb: fix splinky configuration

The pinout of the splinky changed between the last beta batch, and the
production one. This commit updates the keyboard definition to support
the new pinout by default, while offering backward compatibility.

Define `SPLINKY_BETA_PINOUT` to build the firmware with pre-production
pinout.

Fixes #15

* bastardkb: add support for STeMCell

* Update scylla/tbkmini/skeletyl outdated readmes

* bastardkb/dilemma: enable circular scroll

* bastardkb/dilemma: add initial version of the `via` keymap

* bastardkb/dilemma/assembled: add new keyboard

Fixes #20

* bastardkb/dilemma: remove elite-c

* Initial support for the Dilemma 3x5+3 Assembled RGB

* Address code review comments

* Address more comments

* Address review comments

* Address more nits

* bastardkb: split splinky-based keyboards to distinguish between Splinky v2 and v3 pinout
2022-11-15 08:51:44 +00:00

2.3 KiB

Dilemma via keymap

The Dilemma via keymap is based on a QWERTY layout with home row mods and Miryoku-inspired layers, and some features and changes specific to the Dilemma.

This layout also supports VIA.

Customizing the keymap

Dynamic DPI scaling

Use the following keycodes to change the default DPI:

  • POINTER_DEFAULT_DPI_FORWARD: increases the DPI; decreases when shifted;
  • POINTER_DEFAULT_DPI_REVERSE: decreases the DPI; increases when shifted.

There's a maximum of 16 possible values for the sniping mode DPI. See the Dilemma documentation for more information.

Use the following keycodes to change the sniping mode DPI:

  • POINTER_SNIPING_DPI_FORWARD: increases the DPI; decreases when shifted;
  • POINTER_SNIPING_DPI_REVERSE: decreases the DPI; increases when shifted.

There's a maximum of 4 possible values for the sniping mode DPI. See the Dilemma documentation for more information.

Drag-scroll

Use the DRAGSCROLL_MODE keycode to enable drag-scroll on hold. Use the DRAGSCROLL_TOGGLE keycode to enable/disable drag-scroll on key press.

Circular scroll

By default, the firmware is configured to enable the circular scroll feature on Cirque trackpad.

To disable this, add the following to your keymap:

#undef POINTING_DEVICE_GESTURES_SCROLL_ENABLE

Sniping

Use the SNIPING_MODE keycode to enable sniping mode on hold. Use the SNIPING_TOGGLE keycode to enable/disable sniping mode on key press.

Change the value of DILEMMA_AUTO_SNIPING_ON_LAYER to automatically enable sniping mode on layer change. By default, sniping mode is enabled on the pointer layer:

#define DILEMMA_AUTO_SNIPING_ON_LAYER LAYER_POINTER

Auto pointer layer

The pointer layer can be automatically enabled when moving the trackball. To enable or disable this behavior, add or remove the following define:

#define DILEMMA_AUTO_POINTER_LAYER_TRIGGER_ENABLE

By default, the layer is turned off 1 second after the last registered trackball movement:

#define DILEMMA_AUTO_POINTER_LAYER_TRIGGER_TIMEOUT_MS 1000

The trigger sensibility can also be tuned. The lower the value, the more sensible the trigger:

#define DILEMMA_AUTO_POINTER_LAYER_TRIGGER_THRESHOLD 8