Qmk_firmware: LM(layer,mod) documentation

Created on 15 Jun 2018  路  1Comment  路  Source: qmk/qmk_firmware

It took me a bit to get LM(layer, mod) to work because I didn't see in the documentation what values are expected for 'mod'. I expected it to be KC_LSFT, for example, which compiled fine but didn't work. After some digging through the sources I found that mods_bit is meant, and the code for LSFT is 2. Maybe this could be improved in the documentation.

good first issue help wanted needs doc

Most helpful comment

Until documentation is updated, those experiencing this issue can find the mod codes in
./tmk_core/common/action_code.h

>All comments

Until documentation is updated, those experiencing this issue can find the mod codes in
./tmk_core/common/action_code.h

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jacwib picture jacwib  路  3Comments

MarkuBu picture MarkuBu  路  3Comments

fredizzimo picture fredizzimo  路  4Comments

BenRoe picture BenRoe  路  3Comments

ghost picture ghost  路  3Comments