diff options
| author | tmk <nobody@nowhere> | 2013-02-04 22:53:45 +0900 |
|---|---|---|
| committer | tmk <nobody@nowhere> | 2013-02-04 22:53:45 +0900 |
| commit | aad91a30a34d61739e1261bb82a1cb1ace581afa (patch) | |
| tree | a8d265120be758e1ac496ad46e1b95a58c8481c7 /common/keymap.h | |
| parent | 1d7962ba8a20323dc13cc913381608e117afaeb4 (diff) | |
| download | qmk_firmware-aad91a30a34d61739e1261bb82a1cb1ace581afa.tar.gz qmk_firmware-aad91a30a34d61739e1261bb82a1cb1ace581afa.zip | |
Add macro feature.
Diffstat (limited to 'common/keymap.h')
| -rw-r--r-- | common/keymap.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/keymap.h b/common/keymap.h index e0fafeaf2..30d73f797 100644 --- a/common/keymap.h +++ b/common/keymap.h | |||
| @@ -23,6 +23,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 23 | #include "action.h" | 23 | #include "action.h" |
| 24 | 24 | ||
| 25 | 25 | ||
| 26 | // TODO: move to action.h? | ||
| 26 | /* layer used currently */ | 27 | /* layer used currently */ |
| 27 | extern uint8_t current_layer; | 28 | extern uint8_t current_layer; |
| 28 | /* layer to return or start with */ | 29 | /* layer to return or start with */ |
| @@ -34,7 +35,7 @@ extern uint8_t default_layer; | |||
| 34 | action_t keymap_get_action(uint8_t layer, uint8_t row, uint8_t col); | 35 | action_t keymap_get_action(uint8_t layer, uint8_t row, uint8_t col); |
| 35 | 36 | ||
| 36 | /* user defined special function */ | 37 | /* user defined special function */ |
| 37 | void keymap_call_function(keyrecord_t *record, uint8_t id); | 38 | void keymap_call_function(keyrecord_t *record, uint8_t id, uint8_t opt); |
| 38 | 39 | ||
| 39 | 40 | ||
| 40 | #ifndef NO_LEGACY_KEYMAP_SUPPORT | 41 | #ifndef NO_LEGACY_KEYMAP_SUPPORT |
