core: Add unimap support

This commit is contained in:
tmk 2016-06-29 19:59:59 +09:00
parent 1b5266cb6e
commit e84a5981e3
6 changed files with 333 additions and 8 deletions

View file

@ -18,6 +18,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "action_code.h"
#include "actionmap.h"
/* Keymapping with 16bit action codes */
extern const action_t actionmaps[][MATRIX_ROWS][MATRIX_COLS];
/* Converts key to action */
__attribute__ ((weak))
action_t action_for_key(uint8_t layer, keypos_t key)