mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-31 01:42:02 +00:00
Corsair keymap fixes
This commit is contained in:
parent
7eec19eccf
commit
d737716e12
@ -128,6 +128,8 @@ namespace Artemis.DeviceProviders.Corsair
|
|||||||
{
|
{
|
||||||
cueLed = _keyboard.Leds.FirstOrDefault(k => k.Id.ToString() == keyCode.ToString()) ??
|
cueLed = _keyboard.Leds.FirstOrDefault(k => k.Id.ToString() == keyCode.ToString()) ??
|
||||||
_keyboard.Leds.FirstOrDefault(k => k.Id == KeyMap.FormsKeys[keyCode]);
|
_keyboard.Leds.FirstOrDefault(k => k.Id == KeyMap.FormsKeys[keyCode]);
|
||||||
|
|
||||||
|
Logger.Trace("Keycode: {0} resolved to CUE LED: {1}", keyCode, cueLed);
|
||||||
}
|
}
|
||||||
catch (Exception)
|
catch (Exception)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -23,9 +23,9 @@ namespace Artemis.DeviceProviders.Corsair.Utilities
|
|||||||
{Keys.Capital, CorsairLedId.CapsLock},
|
{Keys.Capital, CorsairLedId.CapsLock},
|
||||||
{Keys.Oem1, CorsairLedId.SemicolonAndColon},
|
{Keys.Oem1, CorsairLedId.SemicolonAndColon},
|
||||||
{Keys.Oem7, CorsairLedId.ApostropheAndDoubleQuote},
|
{Keys.Oem7, CorsairLedId.ApostropheAndDoubleQuote},
|
||||||
{Keys.OemBackslash, CorsairLedId.Backslash},
|
{Keys.OemBackslash, CorsairLedId.NonUsBackslash},
|
||||||
{Keys.LShiftKey, CorsairLedId.LeftShift},
|
{Keys.LShiftKey, CorsairLedId.LeftShift},
|
||||||
{Keys.Oem5, CorsairLedId.NonUsBackslash},
|
{Keys.Oem5, CorsairLedId.NonUsTilde},
|
||||||
{Keys.Oemcomma, CorsairLedId.CommaAndLessThan},
|
{Keys.Oemcomma, CorsairLedId.CommaAndLessThan},
|
||||||
{Keys.OemPeriod, CorsairLedId.PeriodAndBiggerThan},
|
{Keys.OemPeriod, CorsairLedId.PeriodAndBiggerThan},
|
||||||
{Keys.OemQuestion, CorsairLedId.SlashAndQuestionMark},
|
{Keys.OemQuestion, CorsairLedId.SlashAndQuestionMark},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user