Skip to content

setRptMode should use Enum, not plain ints #3

@ivanperez-keera

Description

@ivanperez-keera

Using binary-encoded numbers to mask enabled/disabled features is too low level.

This library should use some Enum instead.

See setRptMode in https://github.com/keera-studios/hails-reactive-wiimote-demo/blob/52c442abf656e29bd0b3c03f8b8fa5f275423c7f/WMGui.hs#L83 to get an idea of what I'm talking about.

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