summaryrefslogtreecommitdiffstats
path: root/keyboards/bthlabs/geekpad/keymaps
diff options
context:
space:
mode:
authorTomek Wójcik <tomekwojcik@users.noreply.github.com>2019-01-15 16:49:34 +0100
committerDrashna Jaelre <drashna@live.com>2019-01-15 16:49:34 +0100
commit2dcce4c35160066e32b827985a924c4f7ea5b4d9 (patch)
tree4068455dcdaede64d3e81075997db7940fd8992b /keyboards/bthlabs/geekpad/keymaps
parentbc63da4fbf49865afb1a0845634307926d5de9ea (diff)
downloadqmk_firmware-2dcce4c35160066e32b827985a924c4f7ea5b4d9.tar.gz
qmk_firmware-2dcce4c35160066e32b827985a924c4f7ea5b4d9.tar.xz
[Keyboard] Add bthlabs/geekpad (#4840)
* Hello, GeekPad! * Fixed formatting in `README.md`.
Diffstat (limited to 'keyboards/bthlabs/geekpad/keymaps')
-rw-r--r--keyboards/bthlabs/geekpad/keymaps/default/config.h19
-rw-r--r--keyboards/bthlabs/geekpad/keymaps/default/keymap.c24
2 files changed, 43 insertions, 0 deletions
diff --git a/keyboards/bthlabs/geekpad/keymaps/default/config.h b/keyboards/bthlabs/geekpad/keymaps/default/config.h
new file mode 100644
index 000000000..1cba162c7
--- /dev/null
+++ b/keyboards/bthlabs/geekpad/keymaps/default/config.h
@@ -0,0 +1,19 @@
+/* Copyright 2019-present Tomek Wójcik <contact@bthlabs.pl>
+ *
+ * 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 <http://www.gnu.org/licenses/>.
+ */
+
+#pragma once
+
+// place overrides here
diff --git a/keyboards/bthlabs/geekpad/keymaps/default/keymap.c b/keyboards/bthlabs/geekpad/keymaps/default/keymap.c
new file mode 100644
index 000000000..a8791e70c
--- /dev/null
+++ b/keyboards/bthlabs/geekpad/keymaps/default/keymap.c
@@ -0,0 +1,24 @@
+/* Copyright 2019-present Tomek Wójcik <contact@bthlabs.pl>
+ *
+ * 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 <http://www.gnu.org/licenses/>.
+ */
+#include QMK_KEYBOARD_H
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ [0] = LAYOUT( /* Base */
+ KC_F1, KC_F2, KC_F3,
+ KC_MEDIA_REWIND, KC_MEDIA_PLAY_PAUSE, KC_MEDIA_FAST_FORWARD,
+ KC_AUDIO_MUTE, KC_AUDIO_VOL_DOWN, KC_AUDIO_VOL_UP
+ ),
+};