qmk_firmware/keyboards/togkey/pad_plus/keymaps/default/keymap.c
Jon Henry Fernandez 177e461d90
[Keyboard] Add togkey pad & pad_plus (#25217)
* Initial Commit for Adding TogKey Pad and TogKey Pad Plus to QMK

* Added TogKey Pad default Keymap

* Changed Pins for Encoder

* added images to read me

* Updated Read Me Pictures Links

* Applied Suggested Changes and Formatting to keyboard.json

* Applied suggested keycodes to keymap.c for togkey pad

* Updated Hardware Availability Links in Readme

* Set development board instead of seperate bootloader and processor.

* Added pad_plus.c for oled. Added config.h for pad_plus.
Applied Suggested Changes.

* - Moved oled arrays outside of oled_task function.
- Removed white spaces from pad_plus keymaps.
- Made suggested changes to oled_task function.

* Updated with Changes
- Updated pad json. Removed extra features, remvoed rgb test from rgb animations.
- Updated pad_plus functions
- Updated Pad Plus Config file

* Readded display defintion.

* Corrected OLED resolution definition.

* Applied Suggested Changes
- Updated Copyright Information
- Updated Layout Names
- Updated TogKey Pad Layout

* Applied Suggested Changes
- Removed move layer function.
- Repolaced with "TO" keycodes
- Updated OLED images

* Fixed Layout name in keyboard.json for togkey pad

* - Updated Readme for both pad and pad plus.
- Updated Oled pictures for pad plus.

* - Added bootmagic and extrakey features to togkey pad keyboard.json.
2025-06-28 10:29:57 -06:00

31 lines
563 B
C

// Copyright 2025 TogKey
// SPDX-License-Identifier: GPL-2.0-or-later6
#include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT(
TO(1),
KC_VOLD, KC_MUTE, KC_VOLU,
KC_MPRV, KC_MPLY, KC_MNXT
),
[1] = LAYOUT(
TO(2),
KC_1, KC_2, KC_3,
KC_4, KC_5, KC_6
),
[2] = LAYOUT(
TO(3),
KC_A, KC_B, KC_C,
KC_D, KC_E, KC_F
),
[3] = LAYOUT(
TO(0),
KC_J, KC_K, KC_L,
KC_M, KC_N, KC_O
)
};