summaryrefslogtreecommitdiff
path: root/keyboards/handwired/cans12er/keymaps/default/keymap.c
diff options
context:
space:
mode:
authorCan Baytok <ctiomega.1@gmail.com>2019-11-24 01:56:18 +0100
committerDrashna Jaelre <drashna@live.com>2019-11-23 16:56:18 -0800
commitd14573620d3e964730af960aab3c05a5d061796f (patch)
tree186fecb8c968deebe3fb6a608c44275755a9a9b9 /keyboards/handwired/cans12er/keymaps/default/keymap.c
parent9ea9806d67dd3dfd775cf854b9becd35f3cdc748 (diff)
downloadqmk_firmware-d14573620d3e964730af960aab3c05a5d061796f.tar.gz
qmk_firmware-d14573620d3e964730af960aab3c05a5d061796f.zip
[Keyboard] Added Cans12er keyboard (#7455)
* added cans12er keyboard * updated readme Updated the readme to conform with the provided template from the qmk_firmware githubpage * Update keyboards/cans12er/README.md Co-Authored-By: James Young <18669334+noroadsleft@users.noreply.github.com> * Changed configuration Changed the configuration based on the Change Request from PR #7455 made by github user noroadsleft
Diffstat (limited to 'keyboards/handwired/cans12er/keymaps/default/keymap.c')
-rw-r--r--keyboards/handwired/cans12er/keymaps/default/keymap.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/keyboards/handwired/cans12er/keymaps/default/keymap.c b/keyboards/handwired/cans12er/keymaps/default/keymap.c
new file mode 100644
index 0000000000..864abede37
--- /dev/null
+++ b/keyboards/handwired/cans12er/keymaps/default/keymap.c
@@ -0,0 +1,20 @@
+// This is the canonical layout file for the Quantum project. If you want to add another keyboard,
+// this is the style you want to emulate.
+
+#include QMK_KEYBOARD_H
+
+// Each layer gets a name for readability, which is then used in the keymap matrix below.
+// The underscores don't mean anything - you can have a layer called STUFF or any other name.
+// Layer names don't all need to be of the same length, obviously, and you can also skip them
+// entirely and just use numbers.
+
+#define _KEYPAD 0
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+
+[_KEYPAD] = LAYOUT_ortho_3x4(
+ KC_A, KC_B, KC_C, KC_D,
+ KC_E, KC_F, KC_G, KC_H,
+ KC_I, KC_J, KC_K, KC_L
+),
+};