mirror of
https://github.com/DarthAffe/RGB.NET.git
synced 2026-11-11 04:57:15 +00:00
Implemented update queue and corrected the LED mappings
This commit is contained in:
1 parent
7690a49e43
commit
a94509dfcb
8 files changed
+96
-26
No files matched your search
@@ -245,14 +245,14 @@ namespace RGB.NET.Devices.Wooting.Keyboard
|
||||
{ WootingDevicesIndexes.WootingOne, new Dictionary<WootingPhysicalKeyboardLayout, Dictionary<LedId, (int row, int column)>>
|
||||
{
|
||||
{ WootingPhysicalKeyboardLayout.US, WootingOne_US },
|
||||
{ WootingPhysicalKeyboardLayout.EU, WootingOne_US }
|
||||
{ WootingPhysicalKeyboardLayout.UK, WootingOne_US }
|
||||
}
|
||||
},
|
||||
|
||||
{ WootingDevicesIndexes.WootingTwo, new Dictionary<WootingPhysicalKeyboardLayout, Dictionary<LedId, (int row, int column)>>
|
||||
{
|
||||
{ WootingPhysicalKeyboardLayout.US, WootingTwo_US },
|
||||
{ WootingPhysicalKeyboardLayout.EU, WootingTwo_US }
|
||||
{ WootingPhysicalKeyboardLayout.UK, WootingTwo_US }
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
@@ -40,14 +40,13 @@ namespace RGB.NET.Devices.Wooting.Keyboard
|
||||
{
|
||||
this.PhysicalLayout = physicalKeyboardLayout;
|
||||
|
||||
// For now just go for this
|
||||
switch (physicalKeyboardLayout)
|
||||
{
|
||||
case WootingPhysicalKeyboardLayout.US:
|
||||
this.LogicalLayout = WootingLogicalKeyboardLayout.US;
|
||||
break;
|
||||
case WootingPhysicalKeyboardLayout.EU:
|
||||
this.LogicalLayout = WootingLogicalKeyboardLayout.EU;
|
||||
case WootingPhysicalKeyboardLayout.UK:
|
||||
this.LogicalLayout = WootingLogicalKeyboardLayout.UK;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user