X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=doc%2Fkeymap.md;h=d4a129b208150062ff8a7bf7705396ce1d1f32a5;hb=b085d762d5f151ce3f72d161ba2943862a02ca1e;hp=3d78fc9c9c2d8255b436ff49339ddeb89d83cbc3;hpb=13fbab9d8b2015f4b81316bbdfba0705d459a480;p=max%2Ftmk_keyboard.git diff --git a/doc/keymap.md b/doc/keymap.md index 3d78fc9c..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 @@ -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.