Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Layout & Keymap #10030

Merged
merged 26 commits into from
Aug 16, 2020
Merged
Show file tree
Hide file tree
Changes from 25 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions keyboards/ai03/soyuz/keymaps/mrsendyyk/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# [Sendy YK](https://mr.sendyyk.com)'s Keymap
mrsendyyk marked this conversation as resolved.
Show resolved Hide resolved

`LAYOUT_numpad_5x4`

### [0]

```
┌───┬───┬───┬───┐
│N L│/ │* │- │
├───┼───┼───┼───┤
│7 │8 │9 │ │
├───┼───┼───┤+ │
│4 │5 │6 │ │
├───┼───┼───┼───┤
│1 │2 │3 │ │
├───┴───┼───┤Ent│
│0 │. │ │
└───────┴───┴───┘
```

## Build The Firmware

You will need to build the firmware. To do so go to your terminal window and run the compile command:

qmk compile -kb ai03/soyuz -km mrsendyyk
24 changes: 24 additions & 0 deletions keyboards/ai03/soyuz/keymaps/mrsendyyk/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#include QMK_KEYBOARD_H

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {

/*[0]
*┌───┬───┬───┬───┐
*│N L│/ │* │- │
*├───┼───┼───┼───┤
*│7 │8 │9 │ │
*├───┼───┼───┤+ │
*│4 │5 │6 │ │
*├───┼───┼───┼───┤
*│1 │2 │3 │ │
*├───┴───┼───┤Ent│
*│0 │. │ │
*└───────┴───┴───┘
*/

[0] = LAYOUT_numpad_5x4(KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS,
KC_P7, KC_P8, KC_P9,
KC_P4, KC_P5, KC_P6, KC_PPLS,
KC_P1, KC_P2, KC_P3,
KC_P0, KC_PDOT, KC_PENT)
};
4 changes: 1 addition & 3 deletions keyboards/ai03/soyuz/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,8 @@ SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
NKRO_ENABLE = yes # USB Nkey Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by default
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
MIDI_ENABLE = no # MIDI support
UNICODE_ENABLE = no # Unicode
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
AUDIO_ENABLE = no # Audio output on port C6
FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches

LAYOUTS = ortho_5x4
LAYOUTS = ortho_5x4 numpad_5x4
28 changes: 28 additions & 0 deletions keyboards/ai03/soyuz/soyuz.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,31 @@
{ K30, K31, K32, K33 }, \
{ K40, K41, K42, K43 } \
}

/*
* ┌───┬───┬───┬───┐
* │00 │01 │02 │03 │
* ├───┼───┼───┼───┤
* │10 │11 │12 │ │
* ├───┼───┼───┤23 │
* │20 │21 │22 │ │
* ├───┼───┼───┼───┤
* │30 │31 │32 │ │
* ├───┴───┼───┤43 │
* │41 │42 │ │
* └───────┴───┴───┘
*/

#define LAYOUT_numpad_5x4( \
k00, k01, k02, k03, \
k10, k11, k12, \
k20, k21, k22, k23, \
k30, k31, k32, \
k41, k42, k43 \
) { \
{ k00, k01, k02, k03 }, \
{ k10, k11, k12, KC_NO }, \
{ k20, k21, k22, k23 }, \
{ k30, k31, k32, KC_NO }, \
{ KC_NO, k41, k42, k43 } \
}