Skip to content

Added F13-F24 to USB HID. #1845

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 11, 2022
Merged

Added F13-F24 to USB HID. #1845

merged 1 commit into from
Oct 11, 2022

Conversation

mikaelsundin
Copy link
Contributor

Summary:
Adds F13 to F24 to USB HID, make it possible to use KEY F13 to F24 on USB HID keyboard.

#include <Keyboard.h>

void setup() {
    Keyboard.begin();
}

void loop() {
   Keyboard.press(KEY_F13);
   delay(100);

   Keyboard.release(KEY_F13);   
   delay(1000);
}

@fpistm fpistm self-requested a review October 10, 2022 07:59
@fpistm fpistm added the enhancement New feature or request label Oct 10, 2022
Copy link
Member

@fpistm fpistm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.
Thanks

@fpistm fpistm merged commit db95bcb into stm32duino:main Oct 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants