Skip to content

Add definitions for missing keys #57

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
Nov 29, 2021

Conversation

edgar-bonet
Copy link
Collaborator

The header file Keyboard.h provides definitions for many keys that do not map to printable characters, such as KEY_BACKSPACE, KEY_RIGHT_ARROW, KEY_F1, etc. Some keys are missing, though, to fully cover a standard full-size PC keyboard:

  • the Menu key
  • the cluster at the top right: Print Screen / SysRq, Scroll Lock and Pause / Break
  • the 17 keys of the numeric keypad

This pull request adds macro definitions for these missing keys, thus completing the emulation of a full-size keyboard.

This completes the support for a full-size PC keyboard.
@github-actions
Copy link

Memory usage change @ bc2864a

Board flash % RAM for global variables %
arduino:avr:leonardo 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:sam:arduino_due_x_dbg 0 - 0 0.0 - 0.0 N/A N/A
arduino:samd:mkrzero 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
Click for full report table
Board examples/Serial
flash
% examples/Serial
RAM for global variables
%
arduino:avr:leonardo 0 0.0 0 0.0
arduino:sam:arduino_due_x_dbg 0 0.0 N/A N/A
arduino:samd:mkrzero 0 0.0 0 0.0
Click for full report CSV
Board,examples/Serial<br>flash,%,examples/Serial<br>RAM for global variables,%
arduino:avr:leonardo,0,0.0,0,0.0
arduino:sam:arduino_due_x_dbg,0,0.0,N/A,N/A
arduino:samd:mkrzero,0,0.0,0,0.0

@facchinm facchinm merged commit 5f59c57 into arduino-libraries:master Nov 29, 2021
@edgar-bonet edgar-bonet deleted the more-keys branch November 29, 2021 08:29
@edgar-bonet edgar-bonet mentioned this pull request Mar 5, 2022
@per1234 per1234 added the topic: code Related to content of the project itself label Mar 6, 2022
@edgar-bonet edgar-bonet mentioned this pull request Mar 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants