From acf3be5cbdd80bf7247a2c5d2ada8417c921c6b6 Mon Sep 17 00:00:00 2001 From: kiefac Date: Sun, 7 Jan 2024 00:40:02 +0000 Subject: [PATCH] Upload files to "keymaps/via" --- keymaps/via/keymap.c | 22 ++++++++++++++++++++++ keymaps/via/readme.md | 1 + keymaps/via/rules.mk | 1 + 3 files changed, 24 insertions(+) create mode 100644 keymaps/via/keymap.c create mode 100644 keymaps/via/readme.md create mode 100644 keymaps/via/rules.mk diff --git a/keymaps/via/keymap.c b/keymaps/via/keymap.c new file mode 100644 index 0000000..bc8265b --- /dev/null +++ b/keymaps/via/keymap.c @@ -0,0 +1,22 @@ +/* Copyright 2023 Colin Lam (Ploopy Corporation) + * Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) + * Copyright 2019 Sunjun Kim + * + * 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 . + */ +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT( KC_BTN4, KC_BTN5, DRAG_SCROLL, KC_BTN2, KC_BTN1, KC_BTN3 ) +}; diff --git a/keymaps/via/readme.md b/keymaps/via/readme.md new file mode 100644 index 0000000..c8717fe --- /dev/null +++ b/keymaps/via/readme.md @@ -0,0 +1 @@ +This is the VIA keymap for Ploopyco Madromys Trackball, which can be used to customise the key layout. See [the VIA online app](https://usevia.app/) for how to do this. diff --git a/keymaps/via/rules.mk b/keymaps/via/rules.mk new file mode 100644 index 0000000..1e5b998 --- /dev/null +++ b/keymaps/via/rules.mk @@ -0,0 +1 @@ +VIA_ENABLE = yes