Skip to content

keyboardModifiers: split modifiers and special keys #872

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
Apr 1, 2022

Conversation

edgar-bonet
Copy link
Contributor

As stated in issue #871, the page Keyboard Modifiers incorrectly uses the term “modifier” for many keys that are not real modifiers, such as KEY_UP_ARROW, KEY_BACKSPACE, etc. This pull request addresses the issue by splitting the table listing the “modifier keys” into two smaller tables:

  • “Keyboard modifiers”, which now only lists the keys that are actually modifiers

  • “Special keys”, which lists all the other macros: keys that are neither printable characters nor modifiers.

Fixes #871.

Language/Functions/USB/Keyboard/keyboardModifiers.adoc contains a table
of key macros described as "modifier keys". Most entries in this table,
however, are not modifiers: arrow keys, function keys, etc.

Split the table in two: one table for the actual modifiers, and
another one for all the other key macros, collectively described
as "special keys".
@per1234 per1234 added the bug label Apr 1, 2022
Copy link
Collaborator

@per1234 per1234 left a comment

Choose a reason for hiding this comment

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

Thanks @edgar-bonet!

@per1234 per1234 merged commit f256bb6 into arduino:master Apr 1, 2022
@edgar-bonet edgar-bonet deleted the kbd-modifiers branch April 1, 2022 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Keyboard: incorrect use of the term “modifier”
2 participants