Skip to content

Wooting - Device layout is always ANSI #237

@RobertBeekman

Description

@RobertBeekman

Right now we have it set to ANSI hardcoded because there's no way to tell the device layout.

private void InitializeLayout()
{
//TODO DarthAffe 13.02.2021: Check how the mapping can work without knowing the physical layout
Dictionary<LedId, (int row, int column)> mapping = WootingKeyboardLedMappings.Mapping[DeviceInfo.WootingDeviceType][WootingPhysicalKeyboardLayout.US];
foreach (KeyValuePair<LedId, (int row, int column)> led in mapping)
AddLed(led.Key, new Point(led.Value.column * 19, led.Value.row * 19), new Size(19, 19));
}

I have an issue open on the wooting-rgb-sdk GitHub
WootingKb/wooting-rgb-sdk#38

Metadata

Metadata

Assignees

No one assigned

    Labels

    fixedFixed but not merged to master

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions