X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=doc%2Fkeymap.md;h=d4a129b208150062ff8a7bf7705396ce1d1f32a5;hb=6147f5705ad2c5195a6363b4a1469230b424e489;hp=7ef7430c961dd7f97f9a0f7f9fe6d3d78e840ba6;hpb=e0a95d4075b972ef5d623aa125e009c28e0edaf8;p=max%2Ftmk_keyboard.git diff --git a/doc/keymap.md b/doc/keymap.md index 7ef7430c..d4a129b2 100644 --- a/doc/keymap.md +++ b/doc/keymap.md @@ -198,7 +198,7 @@ There are 8 modifiers which has discrimination between left and right. See keycode table in [`doc/keycode.txt`](./keycode.txt) for description of keycodes. In regard to implementation side most of keycodes are identical with [HID usage][HID_usage](pdf) sent to host for real and some virtual keycodes are defined to support special actions. -[HID_usage]: http://www.usb.org/developers/devclass_docs/Hut1_11.pdf +[HID_usage]: http://www.usb.org/developers/hidpage/Hut1_12v2.pdf @@ -269,7 +269,7 @@ Default Layer is a layer which always is valid and referred to when actions is n This sets Default Layer to given parameter `layer` and activate it. - ACTION_DEFAULT_LAYER(layer) + ACTION_DEFAULT_LAYER_SET(layer) #### 2.2.2 Momentary @@ -444,6 +444,10 @@ Step through backlight levels. ACTION_BACKLIGHT_STEP() +Turn a specific backlight level on or off. + + ACTION_BACKLIGHT_LEVEL(1) + #### 2.5.2 Turn on / off backlight Turn the backlight on and off without changing level. @@ -493,6 +497,13 @@ Number of taps can be configured with `TAPPING_TOGGLE` in `config.h`, `5` by def +### 3.5 Momentary switching with Modifiers +This registers modifier key(s) simultaneously with layer switching. + + ACTION_LAYER_MODS(2, MOD_LSFT | MOD_LALT) + + + ## 4. Tapping Tapping is to press and release a key quickly. Tapping speed is determined with setting of `TAPPING_TERM`, which can be defined in `config.h`, 200ms by default.