X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=layer.h;h=d9e8cebb8f76ec7e0af8f5b0d0ce56dac8bce406;hb=3f0289e66678af8c2d1f001ccb9cb34ccfba7c5c;hp=8d6f761465144821659c48a0708849b04c66fd56;hpb=a28a2a6a5e74e0b6761ecdfdbfaaf56980429819;p=max%2Ftmk_keyboard.git diff --git a/layer.h b/layer.h index 8d6f7614..d9e8cebb 100644 --- a/layer.h +++ b/layer.h @@ -1,10 +1,27 @@ +/* +Copyright 2011 Jun Wako + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + #ifndef LAYER_H #define LAYER_H 1 #include -uint8_t default_layer; -uint8_t current_layer; +extern uint8_t default_layer; +extern uint8_t current_layer; /* return keycode for switch */ uint8_t layer_get_keycode(uint8_t row, uint8_t col);