Compare commits

...
3 Commits
3 changed files with 34 additions and 19 deletions

No files matched your search

+2 -1
View File
@@ -32,7 +32,7 @@
// Moved pages // Moved pages
'/adding_a_keyboard_to_qmk': '/hardware_keyboard_guidelines', '/adding_a_keyboard_to_qmk': '/hardware_keyboard_guidelines',
'/build_environment_setup': '/getting_started_build_tools', '/build_environment_setup': '/newbs_getting_started',
'/cli_dev_configuration': '/cli_configuration', '/cli_dev_configuration': '/cli_configuration',
'/dynamic_macros': '/feature_dynamic_macros', '/dynamic_macros': '/feature_dynamic_macros',
'/feature_common_shortcuts': '/feature_advanced_keycodes', '/feature_common_shortcuts': '/feature_advanced_keycodes',
@@ -45,6 +45,7 @@
'/tap_dance': '/feature_tap_dance', '/tap_dance': '/feature_tap_dance',
'/unicode': '/feature_unicode', '/unicode': '/feature_unicode',
'/python_development': '/cli_development', '/python_development': '/cli_development',
'/getting_started_build_tools':'/newbs_getting_started',
}, },
basePath: '/', basePath: '/',
name: 'QMK Firmware', name: 'QMK Firmware',
+24 -17
View File
@@ -1,15 +1,14 @@
# XD75 with 7U spacebar for EN-RU gamers # XD75 with 7U spacebar for EN-RU gamers
* Standard QWERTY made for gamers with a Russian alternative input.
* The keys for extra letters in RU alphabet are where they are expected.
* Full 2x4 nav cluster.
* Volume/mute control are on base layer, Win key is on function layer.
* FN_CAPS provides fast F-keys access while gaming. Lefthanded Numpad operation.
* NKRO is on (forced).
Standard QWERTY made for gamers with a Russian alternative input. ## Layout
The keys for extra letters in RU alphabet are where they are expected.
Full 2x4 nav cluster.
Volume/mute control are on base layer, Win key is on function layer.
FN_CAPS provides fast F-keys access while gaming. Lefthanded Numpad operation.
NKRO is working (forced).
## QWERTY
```c ```c
/* QWERTY
* .--------------------------------------------------------------------------------------------------------------------------------------. * .--------------------------------------------------------------------------------------------------------------------------------------.
* | GESC | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | Del | BACKSP | * | GESC | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | Del | BACKSP |
* |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------| * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------|
@@ -21,12 +20,10 @@ NKRO is working (forced).
* |--------+--------+--------+--------+--------+-----------------+--------+--------+--------+--------+-----------------+--------+--------| * |--------+--------+--------+--------+--------+-----------------+--------+--------+--------+--------+-----------------+--------+--------|
* | LCTRL | Del | ENTER | LALT | SPACE | End | LEFT | DOWN | RIGHT | * | LCTRL | Del | ENTER | LALT | SPACE | End | LEFT | DOWN | RIGHT |
* '--------------------------------------------------------------------------------------------------------------------------------------' * '--------------------------------------------------------------------------------------------------------------------------------------'
*/
``` ```
## FUNCTION
```c ```c
/* FUNCTION
* .--------------------------------------------------------------------------------------------------------------------------------------. * .--------------------------------------------------------------------------------------------------------------------------------------.
* | XXXXXXX| F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | _______| _______| * | XXXXXXX| F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | _______| _______|
* |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------| * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------|
@@ -38,10 +35,20 @@ NKRO is working (forced).
* |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------| * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------|
* | _______| P0 | P. | PENT | SPACE | BL_TOGG| RGB TG | RGB RMD| RGB MD | * | _______| P0 | P. | PENT | SPACE | BL_TOGG| RGB TG | RGB RMD| RGB MD |
* '--------------------------------------------------------------------------------------------------------------------------------------' * '--------------------------------------------------------------------------------------------------------------------------------------'
*/
``` ```
## LEDs
## LEDs ID
Top left LED - Function layer active. Top left LED - Function layer active.
Mid left LED - CapsLock active. Mid left LED - CapsLock active.
## Compile
go to qmk top directory.
```
$ cd qmk_firmware
```
build
```
$ make xd75:buzzlighter1
```
+8 -1
View File
@@ -213,6 +213,13 @@ void keyboard_setup(void) {
*/ */
__attribute__((weak)) bool is_keyboard_master(void) { return true; } __attribute__((weak)) bool is_keyboard_master(void) { return true; }
/** \brief should_process_keypress
*
* Override this function if you have a condition where keypresses processing should change:
* - splits where the slave side needs to process for rgb/oled functionality
*/
__attribute__((weak)) bool should_process_keypress(void) { return is_keyboard_master(); }
/** \brief keyboard_init /** \brief keyboard_init
* *
* FIXME: needs doc * FIXME: needs doc
@@ -292,7 +299,7 @@ void keyboard_task(void) {
matrix_scan(); matrix_scan();
#endif #endif
if (is_keyboard_master()) { if (should_process_keypress()) {
for (uint8_t r = 0; r < MATRIX_ROWS; r++) { for (uint8_t r = 0; r < MATRIX_ROWS; r++) {
matrix_row = matrix_get_row(r); matrix_row = matrix_get_row(r);
matrix_change = matrix_row ^ matrix_prev[r]; matrix_change = matrix_row ^ matrix_prev[r];