Skip to content

LED status (Capslock, Numlock, Scrollock) #6

Closed
@mic159

Description

@mic159

I was wondering if it would be possible to get the state of these flags from the OS?

I found a patch on this forum post: http://forum.arduino.cc/index.php?topic=173583.msg1474558#msg1474558
Its outdated, and I cant figure out how to send the data from HID -> Keyboard now that they are separate.

I was wondering if you had any ideas on how best to bridge the gap?
Should I just #include "Keyboard.h" inside HID.cpp, or should there be some callback you can register in HID, then Keyboard reads the message and decodes the LED status from there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: codeRelated to content of the project itselftype: enhancementProposed improvement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions