Skip to content

Bug: Older models interpretting green as red #118

@Julusian

Description

@Julusian

It is debatable if this is a bug or intentional, but for my usage this is a bug, and I don't see a way that I can workaround it.

Both the LINEAR and LEGACY backlight modes, interpret a green value as illuminating the red led: https://github.com/SuperFlyTV/xkeys/blob/master/packages/core/src/xkeys.ts#L501

In companion, we do not want to do this (it has been decided that this will be confusing for our users), so have been working around this by simply omitting the green value. But with the newer rgb models, we need to provide this value.
I don't see a way for us to detect what backlight mode the model uses, so I can't see a way for us to conditionally provide this, or a way to disable this 'green is red' behaviour.

Is there a particular reason for interpreting values in this way?
Are you open to an an option being added to the method to disable this interpretation? or should some info about the backlight be exposed so that we can figure this out ourselves?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions