You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Kaleidoscope/examples/KeyboardioFirmware/KeyboardioFirmware.ino

29 lines
541 B

// -*- mode: c++ -*-
// Copyright 2016 Keyboardio, inc. <jesse@keyboard.io>
// See "LICENSE" for license details
#define DEBUG_SERIAL false
#include "KeyboardioFirmware.h"
#include "generated/keymaps.h"
9 years ago
uint8_t primary_keymap = 0;
uint8_t temporary_keymap = 0;
#define KEYMAPS 3
#define NUMPAD_KEYMAP 2
#define KEYMAP_LIST KEYMAP_QWERTY KEYMAP_GENERIC_FN2 KEYMAP_NUMPAD
const Key keymaps[][ROWS][COLS] PROGMEM = { KEYMAP_LIST };
9 years ago
void setup() {
Keyboardio.setup(KEYMAPS, NUMPAD_KEYMAP);
11 years ago
}
9 years ago
void loop() {
Keyboardio.loop();
11 years ago
}