diff options
| author | Simon Arlott <70171+nomis@users.noreply.github.com> | 2021-03-17 01:39:09 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-16 18:39:09 -0700 |
| commit | e941ae38110c616884acbb7447350b150cdb9d4d (patch) | |
| tree | 08812a57ac5bab076529623456d1a1326fbcebb4 | |
| parent | f75420c209cf5535ed1599504d1a52059f21bc22 (diff) | |
| download | qmk_firmware-e941ae38110c616884acbb7447350b150cdb9d4d.tar.gz qmk_firmware-e941ae38110c616884acbb7447350b150cdb9d4d.zip | |
[Keyboard] Add YMDK NP24 (ATmega32U4 with 6 RGB LEDs) (#12120)
| -rw-r--r-- | keyboards/ymdk/np24/u4rgb6/config.h | 55 | ||||
| -rw-r--r-- | keyboards/ymdk/np24/u4rgb6/info.json | 102 | ||||
| -rw-r--r-- | keyboards/ymdk/np24/u4rgb6/keymaps/default/keymap.c | 49 | ||||
| -rw-r--r-- | keyboards/ymdk/np24/u4rgb6/keymaps/default/readme.md | 29 | ||||
| -rw-r--r-- | keyboards/ymdk/np24/u4rgb6/readme.md | 18 | ||||
| -rw-r--r-- | keyboards/ymdk/np24/u4rgb6/rules.mk | 24 | ||||
| -rw-r--r-- | keyboards/ymdk/np24/u4rgb6/u4rgb6.c | 16 | ||||
| -rw-r--r-- | keyboards/ymdk/np24/u4rgb6/u4rgb6.h | 67 |
8 files changed, 360 insertions, 0 deletions
diff --git a/keyboards/ymdk/np24/u4rgb6/config.h b/keyboards/ymdk/np24/u4rgb6/config.h new file mode 100644 index 000000000..dc86ae344 --- /dev/null +++ b/keyboards/ymdk/np24/u4rgb6/config.h | |||
| @@ -0,0 +1,55 @@ | |||
| 1 | /* Copyright 2021 Simon Arlott | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | #pragma once | ||
| 17 | |||
| 18 | #include "config_common.h" | ||
| 19 | |||
| 20 | /* USB Device descriptor parameter */ | ||
| 21 | #define VENDOR_ID 0x594D | ||
| 22 | #define PRODUCT_ID 0x5024 | ||
| 23 | #define DEVICE_VER 0x0406 | ||
| 24 | #define MANUFACTURER YMDK | ||
| 25 | #define PRODUCT NP24 U4 RGB6 | ||
| 26 | |||
| 27 | /* key matrix size */ | ||
| 28 | #define MATRIX_ROWS 6 | ||
| 29 | #define MATRIX_COLS 4 | ||
| 30 | |||
| 31 | /* key matrix pins */ | ||
| 32 | #define MATRIX_ROW_PINS { B3, B6, B2, B1, D7, B4 } | ||
| 33 | #define MATRIX_COL_PINS { F5, F4, D3, D2 } | ||
| 34 | |||
| 35 | /* COL2ROW or ROW2COL */ | ||
| 36 | #define DIODE_DIRECTION ROW2COL | ||
| 37 | |||
| 38 | /* LED indicator pins */ | ||
| 39 | #define LED_NUM_LOCK_PIN C6 | ||
| 40 | #define LED_PIN_ON_STATE 0 | ||
| 41 | |||
| 42 | /* number of backlight levels */ | ||
| 43 | #define BACKLIGHT_PIN B7 | ||
| 44 | #ifdef BACKLIGHT_PIN | ||
| 45 | # define BACKLIGHT_LEVELS 31 | ||
| 46 | #endif | ||
| 47 | |||
| 48 | /* Set 0 if debouncing isn't needed */ | ||
| 49 | #define DEBOUNCE 5 | ||
| 50 | |||
| 51 | #define RGB_DI_PIN E2 | ||
| 52 | #ifdef RGB_DI_PIN | ||
| 53 | # define RGBLED_NUM 6 | ||
| 54 | # define RGBLIGHT_ANIMATIONS | ||
| 55 | #endif | ||
diff --git a/keyboards/ymdk/np24/u4rgb6/info.json b/keyboards/ymdk/np24/u4rgb6/info.json new file mode 100644 index 000000000..313eeabff --- /dev/null +++ b/keyboards/ymdk/np24/u4rgb6/info.json | |||
| @@ -0,0 +1,102 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "YMDK NP24 U4 RGB6", | ||
| 3 | "maintainer": "qmk", | ||
| 4 | "width": 4, | ||
| 5 | "height": 6.25, | ||
| 6 | "layouts": { | ||
| 7 | "LAYOUT_ortho_6x4": { | ||
| 8 | "layout": [ | ||
| 9 | {"x": 0, "y": 0}, | ||
| 10 | {"x": 1, "y": 0}, | ||
| 11 | {"x": 2, "y": 0}, | ||
| 12 | {"x": 3, "y": 0}, | ||
| 13 | |||
| 14 | {"x": 0, "y": 1.25}, | ||
| 15 | {"x": 1, "y": 1.25}, | ||
| 16 | {"x": 2, "y": 1.25}, | ||
| 17 | {"x": 3, "y": 1.25}, | ||
| 18 | |||
| 19 | {"x": 0, "y": 2.25}, | ||
| 20 | {"x": 1, "y": 2.25}, | ||
| 21 | {"x": 2, "y": 2.25}, | ||
| 22 | {"x": 3, "y": 2.25}, | ||
| 23 | |||
| 24 | {"x": 0, "y": 3.25}, | ||
| 25 | {"x": 1, "y": 3.25}, | ||
| 26 | {"x": 2, "y": 3.25}, | ||
| 27 | {"x": 3, "y": 3.25}, | ||
| 28 | |||
| 29 | {"x": 0, "y": 4.25}, | ||
| 30 | {"x": 1, "y": 4.25}, | ||
| 31 | {"x": 2, "y": 4.25}, | ||
| 32 | {"x": 3, "y": 4.25}, | ||
| 33 | |||
| 34 | {"x": 0, "y": 5.25}, | ||
| 35 | {"x": 1, "y": 5.25}, | ||
| 36 | {"x": 2, "y": 5.25}, | ||
| 37 | {"x": 3, "y": 5.25} | ||
| 38 | ] | ||
| 39 | }, | ||
| 40 | "LAYOUT_ortho_4x6": { | ||
| 41 | "layout": [ | ||
| 42 | {"x": 0, "y": 0}, | ||
| 43 | {"x": 1, "y": 0}, | ||
| 44 | {"x": 2, "y": 0}, | ||
| 45 | {"x": 3, "y": 0}, | ||
| 46 | {"x": 4, "y": 0}, | ||
| 47 | {"x": 5.25, "y": 0}, | ||
| 48 | |||
| 49 | {"x": 0, "y": 1}, | ||
| 50 | {"x": 1, "y": 1}, | ||
| 51 | {"x": 2, "y": 1}, | ||
| 52 | {"x": 3, "y": 1}, | ||
| 53 | {"x": 4, "y": 1}, | ||
| 54 | {"x": 5.25, "y": 1}, | ||
| 55 | |||
| 56 | {"x": 0, "y": 2}, | ||
| 57 | {"x": 1, "y": 2}, | ||
| 58 | {"x": 2, "y": 2}, | ||
| 59 | {"x": 3, "y": 2}, | ||
| 60 | {"x": 4, "y": 2}, | ||
| 61 | {"x": 5.25, "y": 2}, | ||
| 62 | |||
| 63 | {"x": 0, "y": 3}, | ||
| 64 | {"x": 1, "y": 3}, | ||
| 65 | {"x": 2, "y": 3}, | ||
| 66 | {"x": 3, "y": 3}, | ||
| 67 | {"x": 4, "y": 3}, | ||
| 68 | {"x": 5.25, "y": 3} | ||
| 69 | ] | ||
| 70 | }, | ||
| 71 | "LAYOUT_numpad_6x4": { | ||
| 72 | "layout": [ | ||
| 73 | {"x": 0, "y": 0}, | ||
| 74 | {"x": 1, "y": 0}, | ||
| 75 | {"x": 2, "y": 0}, | ||
| 76 | {"x": 3, "y": 0}, | ||
| 77 | |||
| 78 | {"x": 0, "y": 1.25}, | ||
| 79 | {"x": 1, "y": 1.25}, | ||
| 80 | {"x": 2, "y": 1.25}, | ||
| 81 | {"x": 3, "y": 1.25}, | ||
| 82 | |||
| 83 | {"x": 0, "y": 2.25}, | ||
| 84 | {"x": 1, "y": 2.25}, | ||
| 85 | {"x": 2, "y": 2.25}, | ||
| 86 | |||
| 87 | {"x": 0, "y": 3.25}, | ||
| 88 | {"x": 1, "y": 3.25}, | ||
| 89 | {"x": 2, "y": 3.25}, | ||
| 90 | {"x": 3, "y": 2.25, "h": 2}, | ||
| 91 | |||
| 92 | {"x": 0, "y": 4.25}, | ||
| 93 | {"x": 1, "y": 4.25}, | ||
| 94 | {"x": 2, "y": 4.25}, | ||
| 95 | |||
| 96 | {"x": 0, "y": 5.25, "w": 2}, | ||
| 97 | {"x": 2, "y": 5.25}, | ||
| 98 | {"x": 3, "y": 4.25, "h": 2} | ||
| 99 | ] | ||
| 100 | } | ||
| 101 | } | ||
| 102 | } | ||
diff --git a/keyboards/ymdk/np24/u4rgb6/keymaps/default/keymap.c b/keyboards/ymdk/np24/u4rgb6/keymaps/default/keymap.c new file mode 100644 index 000000000..48ec3599d --- /dev/null +++ b/keyboards/ymdk/np24/u4rgb6/keymaps/default/keymap.c | |||
| @@ -0,0 +1,49 @@ | |||
| 1 | /* Copyright 2021 Simon Arlott | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | #include QMK_KEYBOARD_H | ||
| 17 | |||
| 18 | enum layer_names { | ||
| 19 | L_NUM, | ||
| 20 | L_BL, | ||
| 21 | L_RGB | ||
| 22 | }; | ||
| 23 | |||
| 24 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 25 | [L_NUM] = LAYOUT_ortho_6x4( | ||
| 26 | KC_ESC, KC_CALC, MO(L_BL),MO(L_RGB), | ||
| 27 | KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS, | ||
| 28 | KC_P7, KC_P8, KC_P9, KC_PPLS, | ||
| 29 | KC_P4, KC_P5, KC_P6, KC_PPLS, | ||
| 30 | KC_P1, KC_P2, KC_P3, KC_PENT, | ||
| 31 | KC_P0, KC_P0, KC_PDOT, KC_PENT | ||
| 32 | ), | ||
| 33 | [L_BL] = LAYOUT_ortho_6x4( | ||
| 34 | _______, _______, _______, _______, | ||
| 35 | _______, _______, _______, _______, | ||
| 36 | _______, BL_ON, _______, BL_INC, | ||
| 37 | _______, BL_TOGG, _______, BL_INC, | ||
| 38 | _______, BL_OFF, _______, BL_DEC, | ||
| 39 | BL_BRTG, _______, _______, BL_DEC | ||
| 40 | ), | ||
| 41 | [L_RGB] = LAYOUT_ortho_6x4( | ||
| 42 | _______, _______, _______, _______, | ||
| 43 | _______, _______, _______, _______, | ||
| 44 | _______, RGB_MOD, _______, RGB_VAI, | ||
| 45 | _______, RGB_TOG, _______, RGB_VAI, | ||
| 46 | _______, RGB_RMOD,_______, RGB_VAD, | ||
| 47 | RGB_M_R, _______, _______, RGB_VAD | ||
| 48 | ) | ||
| 49 | }; | ||
diff --git a/keyboards/ymdk/np24/u4rgb6/keymaps/default/readme.md b/keyboards/ymdk/np24/u4rgb6/keymaps/default/readme.md new file mode 100644 index 000000000..7bcf47f3a --- /dev/null +++ b/keyboards/ymdk/np24/u4rgb6/keymaps/default/readme.md | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | # The default keymap for the YMDK NP24 keypad | ||
| 2 | |||
| 3 | Not the manufacturer default, which has F1, F2, F3, Fn on the top row. | ||
| 4 | The function layer for the top row was: RGB_MOD, BL_STEP, ______, ______. | ||
| 5 | |||
| 6 | ``` | ||
| 7 | Base Layer Function Layer 1 Function Layer 2 | ||
| 8 | .-----. .-----. .-----. | ||
| 9 | | USB | | USB | | USB | | ||
| 10 | ,-------------------------------. ,-------------------------------. ,-------------------------------. | ||
| 11 | | Esc | Calc | Fn 1 | Fn 2 | | | |▒▒▒▒▒▒▒| | | | | |▒▒▒▒▒▒▒| | ||
| 12 | | | | | | | | |▒▒▒▒▒▒▒| | | | | |▒▒▒▒▒▒▒| | ||
| 13 | |-------+-------+-------+-------| |-------+-------+-------+-------| |-------+-------+-------+-------| | ||
| 14 | | Num | / | * | - | | | | | | | | | | | | ||
| 15 | | Lock | | | | | | | | | | | | | | | ||
| 16 | |-------+-------+-------+-------| |-------+-------+-------+-------| |-------+-------+-------+-------| | ||
| 17 | | 7 | 8 | 9 | + | | | BL | | BL | | |Mode | |Bright | | ||
| 18 | | Home | Up | PgUp | | | | On | | Inc | | |Forward| |Inc | | ||
| 19 | |-------+-------+-------+-------| |-------+-------+-------+-------| |-------+-------+-------+-------| | ||
| 20 | | 4 | 5 | 6 | + | | | BL | | BL | | |Toggle | |Bright | | ||
| 21 | | Left | | Right | | | | Togg | | Inc | | |On/Off | |Inc | | ||
| 22 | |-------+-------+-------+-------| |-------+-------+-------+-------| |-------+-------+-------+-------| | ||
| 23 | | 1 | 2 | 3 | Ent | | | BL | | BL | | |Mode | |Bright | | ||
| 24 | | End | Down | PgDn | | | | Off | | Dec | | |Back | |Dec | | ||
| 25 | |-------+-------+-------+-------| |-------+-------+-------+-------| |-------+-------+-------+-------| | ||
| 26 | | 0 | 0 | . | Ent | | BL | | | BL | |Mode | | |Bright | | ||
| 27 | | Ins | Ins | Del | | | Breath| | | Dec | |Rainbow| | |Dec | | ||
| 28 | `-------------------------------' `-------------------------------' `-------------------------------' | ||
| 29 | ``` | ||
diff --git a/keyboards/ymdk/np24/u4rgb6/readme.md b/keyboards/ymdk/np24/u4rgb6/readme.md new file mode 100644 index 000000000..53e74f2de --- /dev/null +++ b/keyboards/ymdk/np24/u4rgb6/readme.md | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | # YMDK NP24 U4 RGB6 | ||
| 2 | |||
| 3 | 24 key number-pad with 6 RGB LEDs on the bottom (black PCB) sold by YMDK on Aliexpress (https://ymdk.aliexpress.com/store/429151). | ||
| 4 | |||
| 5 | Not to be confused with the 8 RGB LED version (white PCB) that has an ATmega32A ("ymdk_np21"). | ||
| 6 | |||
| 7 | * Keyboard Maintainer: [QMK Community](https://github.com/qmk) | ||
| 8 | * Hardware Supported: ATmega32U4 | ||
| 9 | |||
| 10 | Make example for this keyboard (after setting up your build environment): | ||
| 11 | |||
| 12 | make ymdk/np24/u4rgb6:default | ||
| 13 | |||
| 14 | Flashing example for this keyboard: | ||
| 15 | |||
| 16 | make ymdk/np24/u4rgb6:default:flash | ||
| 17 | |||
| 18 | See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). | ||
diff --git a/keyboards/ymdk/np24/u4rgb6/rules.mk b/keyboards/ymdk/np24/u4rgb6/rules.mk new file mode 100644 index 000000000..625a433f9 --- /dev/null +++ b/keyboards/ymdk/np24/u4rgb6/rules.mk | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega32u4 | ||
| 3 | |||
| 4 | # Bootloader selection | ||
| 5 | BOOTLOADER = atmel-dfu | ||
| 6 | |||
| 7 | # Build Options | ||
| 8 | # change yes to no to disable | ||
| 9 | # | ||
| 10 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration | ||
| 11 | MOUSEKEY_ENABLE = no # Mouse keys | ||
| 12 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
| 13 | CONSOLE_ENABLE = no # Console for debug | ||
| 14 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
| 15 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 16 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 17 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 18 | NKRO_ENABLE = no # USB Nkey Rollover | ||
| 19 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | ||
| 20 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | ||
| 21 | BLUETOOTH_ENABLE = no # Enable Bluetooth | ||
| 22 | AUDIO_ENABLE = no # Audio output | ||
| 23 | |||
| 24 | LAYOUTS = ortho_6x4 numpad_6x4 ortho_4x6 | ||
diff --git a/keyboards/ymdk/np24/u4rgb6/u4rgb6.c b/keyboards/ymdk/np24/u4rgb6/u4rgb6.c new file mode 100644 index 000000000..edd0c0552 --- /dev/null +++ b/keyboards/ymdk/np24/u4rgb6/u4rgb6.c | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | /* Copyright 2021 Simon Arlott | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | #include "u4rgb6.h" | ||
diff --git a/keyboards/ymdk/np24/u4rgb6/u4rgb6.h b/keyboards/ymdk/np24/u4rgb6/u4rgb6.h new file mode 100644 index 000000000..83ec48688 --- /dev/null +++ b/keyboards/ymdk/np24/u4rgb6/u4rgb6.h | |||
| @@ -0,0 +1,67 @@ | |||
| 1 | /* Copyright 2017 Luiz Ribeiro <luizribeiro@gmail.com> | ||
| 2 | * Copyright 2021 Simon Arlott | ||
| 3 | * | ||
| 4 | * This program is free software: you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License as published by | ||
| 6 | * the Free Software Foundation, either version 2 of the License, or | ||
| 7 | * (at your option) any later version. | ||
| 8 | * | ||
| 9 | * This program is distributed in the hope that it will be useful, | ||
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | * GNU General Public License for more details. | ||
| 13 | * | ||
| 14 | * You should have received a copy of the GNU General Public License | ||
| 15 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | #pragma once | ||
| 18 | |||
| 19 | #include "quantum.h" | ||
| 20 | |||
| 21 | #define XXX KC_NO | ||
| 22 | |||
| 23 | #define LAYOUT_ortho_6x4( \ | ||
| 24 | k00, k10, k20, k30, \ | ||
| 25 | k01, k11, k21, k31, \ | ||
| 26 | k02, k12, k22, k32, \ | ||
| 27 | k03, k13, k23, k33, \ | ||
| 28 | k04, k14, k24, k34, \ | ||
| 29 | k05, k15, k25, k35 \ | ||
| 30 | ) { \ | ||
| 31 | { k00, k10, k20, k30 }, \ | ||
| 32 | { k01, k11, k21, k31 }, \ | ||
| 33 | { k02, k12, k22, k32 }, \ | ||
| 34 | { k03, k13, k23, k33 }, \ | ||
| 35 | { k04, k14, k24, k34 }, \ | ||
| 36 | { k05, k15, k25, k35 } \ | ||
| 37 | } | ||
| 38 | |||
| 39 | #define LAYOUT_ortho_4x6( \ | ||
| 40 | k00, k01, k02, k03, k04, k05, \ | ||
| 41 | k10, k11, k12, k13, k14, k15, \ | ||
| 42 | k20, k21, k22, k23, k24, k25, \ | ||
| 43 | k30, k31, k32, k33, k34, k35 \ | ||
| 44 | ) { \ | ||
| 45 | { k00, k10, k20, k30 }, \ | ||
| 46 | { k01, k11, k21, k31 }, \ | ||
| 47 | { k02, k12, k22, k32 }, \ | ||
| 48 | { k03, k13, k23, k33 }, \ | ||
| 49 | { k04, k14, k24, k34 }, \ | ||
| 50 | { k05, k15, k25, k35 } \ | ||
| 51 | } | ||
| 52 | |||
| 53 | #define LAYOUT_numpad_6x4( \ | ||
| 54 | k00, k10, k20, k30, \ | ||
| 55 | k01, k11, k21, k31, \ | ||
| 56 | k02, k12, k22, \ | ||
| 57 | k03, k13, k23, k33, \ | ||
| 58 | k04, k14, k24, \ | ||
| 59 | k15, k25, k35 \ | ||
| 60 | ) { \ | ||
| 61 | { k00, k10, k20, k30 }, \ | ||
| 62 | { k01, k11, k21, k31 }, \ | ||
| 63 | { k02, k12, k22, XXX }, \ | ||
| 64 | { k03, k13, k23, k33 }, \ | ||
| 65 | { k04, k14, k24, XXX }, \ | ||
| 66 | { XXX, k15, k25, k35 } \ | ||
| 67 | } | ||
