mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2025-12-27 09:17:51 -05:00
Correcting new Razer keyboard layouts
* Fixed Blackwidow X Chroma TE layout * Fixed Blackwidow layout
This commit is contained in:
@@ -40,6 +40,16 @@ keyboard_keymap_overlay_values razer_blackwidow_layout
|
||||
{
|
||||
{ /* ANSI Value set not used */ },
|
||||
{
|
||||
{
|
||||
KEYBOARD_LAYOUT_ANSI_QWERTY,
|
||||
{
|
||||
/*---------------------------------------------------------------------*\
|
||||
| Swap Keys |
|
||||
| Zone, Row, Column, Index, Key |
|
||||
\*---------------------------------------------------------------------*/
|
||||
{ 0, 4, 1, 0, KEY_EN_UNUSED, }, // Move 'Z' 1 right (Account for ISO key)
|
||||
}
|
||||
},
|
||||
/* Add more regional layout fixes here */
|
||||
}
|
||||
},
|
||||
@@ -48,24 +58,23 @@ keyboard_keymap_overlay_values razer_blackwidow_layout
|
||||
| Insert Keys |
|
||||
| Zone, Row, Column, Index, Key |
|
||||
\*---------------------------------------------------------------------*/
|
||||
{ 0, 0, 0, 0, KEY_EN_UNUSED, },
|
||||
{ 0, 1, 0, 0, KEY_EN_UNUSED, },
|
||||
{ 0, 0, 0, 0, KEY_EN_UNUSED, }, // Move 'Esc' 1 right
|
||||
{ 0, 0, 2, 0, KEY_EN_UNUSED, }, // Move 'F1' 1 right (Shifts row)
|
||||
{ 0, 1, 0, 0, KEY_EN_UNUSED, }, // Move Backtick 1 right (Shifts row)
|
||||
{ 0, 1, 14, 0, KEY_EN_EQUALS, },
|
||||
{ 0, 2, 0, 0, KEY_EN_UNUSED, },
|
||||
{ 0, 3, 0, 0, KEY_EN_UNUSED, },
|
||||
{ 0, 4, 0, 0, KEY_EN_UNUSED, },
|
||||
{ 0, 5, 0, 0, KEY_EN_UNUSED, },
|
||||
{ 0, 5, 6, 0, KEY_EN_SPACE, },
|
||||
{ 0, 5, 10, 0, KEY_EN_RIGHT_ALT, },
|
||||
{ 0, 2, 0, 0, KEY_EN_UNUSED, }, // Move Tab 1 right (Shifts row)
|
||||
{ 0, 3, 0, 0, KEY_EN_UNUSED, }, // Move Caps 1 right (Shifts most of row)
|
||||
{ 0, 3, 13, 0, KEY_EN_UNUSED, }, // Move Enter 1 right
|
||||
{ 0, 4, 0, 0, KEY_EN_UNUSED, }, // Move LFT_SHFT 1 right (Shifts most of row)
|
||||
{ 0, 5, 0, 0, KEY_EN_UNUSED, }, // Move LFT_CTRL 1 right
|
||||
{ 0, 5, 10, 0, KEY_EN_RIGHT_ALT, }, // Insert (Another) RGT_ALT (Shifts remainder of row)
|
||||
},
|
||||
{
|
||||
/*---------------------------------------------------------------------*\
|
||||
| Swap Keys |
|
||||
| Zone, Row, Column, Index, Key |
|
||||
\*---------------------------------------------------------------------*/
|
||||
{ 0, 2, 13, 0, KEY_EN_UNUSED, },
|
||||
{ 0, 5, 7, 0, KEY_EN_UNUSED, },
|
||||
{ 0, 5, 11, 0, "Logo", },
|
||||
{ 0, 5, 11, 0, "Logo", }, // Swap RGT_ALT for 'Logo'
|
||||
}
|
||||
};
|
||||
|
||||
@@ -75,6 +84,16 @@ keyboard_keymap_overlay_values razer_blackwidow_x_chroma_te_layout
|
||||
{
|
||||
{ /* ANSI Value set not used */ },
|
||||
{
|
||||
{
|
||||
KEYBOARD_LAYOUT_ANSI_QWERTY,
|
||||
{
|
||||
/*---------------------------------------------------------------------*\
|
||||
| Swap Keys |
|
||||
| Zone, Row, Column, Index, Key |
|
||||
\*---------------------------------------------------------------------*/
|
||||
{ 0, 4, 1, 0, KEY_EN_UNUSED, }, // Move 'Z' 1 right (Account for ISO key)
|
||||
}
|
||||
},
|
||||
/* Add more regional layout fixes here */
|
||||
}
|
||||
},
|
||||
@@ -83,13 +102,19 @@ keyboard_keymap_overlay_values razer_blackwidow_x_chroma_te_layout
|
||||
| Insert Keys |
|
||||
| Zone, Row, Column, Index, Key |
|
||||
\*---------------------------------------------------------------------*/
|
||||
{ 0, 0, 0, 0, KEY_EN_UNUSED, },
|
||||
{ 0, 0, 20, 0, "Logo", },
|
||||
{ 0, 1, 0, 0, KEY_EN_UNUSED, },
|
||||
{ 0, 2, 0, 0, KEY_EN_UNUSED, },
|
||||
{ 0, 3, 0, 0, KEY_EN_UNUSED, },
|
||||
{ 0, 4, 0, 0, KEY_EN_UNUSED, },
|
||||
{ 0, 5, 0, 0, KEY_EN_UNUSED, },
|
||||
{ 0, 0, 0, 0, KEY_EN_UNUSED, }, // Move 'Esc' 1 right
|
||||
{ 0, 0, 2, 0, KEY_EN_UNUSED, }, // Move 'F1' 1 right (Shifts row)
|
||||
{ 0, 0, 20, 0, "Logo", }, // Insert 'Logo' key
|
||||
{ 0, 1, 0, 0, KEY_EN_UNUSED, }, // Move Backtick 1 right (Shifts row)
|
||||
{ 0, 2, 0, 0, KEY_EN_UNUSED, }, // Move Tab 1 right (Shifts row)
|
||||
{ 0, 3, 0, 0, KEY_EN_UNUSED, }, // Move Caps 1 right (Shifts most of row)
|
||||
{ 0, 3, 13, 0, KEY_EN_UNUSED, }, // Move Enter 1 right
|
||||
{ 0, 4, 0, 0, KEY_EN_UNUSED, }, // Move LFT_SHFT 1 right (Shifts most of row)
|
||||
{ 0, 4, 13, 0, KEY_EN_UNUSED, }, // Move RGT_SHFT 1 right
|
||||
{ 0, 4, 15, 0, KEY_EN_UNUSED, }, // Move ARWUP 1 right
|
||||
{ 0, 5, 0, 0, KEY_EN_UNUSED, }, // Move LFT_CTRL 1 right
|
||||
{ 0, 5, 6, 0, KEY_EN_UNUSED, }, // Move Space 1 right
|
||||
{ 0, 5, 10, 0, KEY_EN_UNUSED, }, // Move RGT_ALT 1 right (Shifts remainder of row)
|
||||
},
|
||||
{
|
||||
/*---------------------------------------------------------------------*\
|
||||
|
||||
Reference in New Issue
Block a user