-
Notifications
You must be signed in to change notification settings - Fork 11
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
feature: add 0x4521 DisableKeys #12
base: master
Are you sure you want to change the base?
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
********************* | ||
Disable Keys (``0x4521``) | ||
********************* | ||
|
||
.. table:: Table 1 - Functions | ||
|
||
== ====================== ======================================================= | ||
ID Name Arguments | ||
== ====================== ======================================================= | ||
0 GetCapabilities None | ||
1 GetDisabledKeys None | ||
2 SetDisabledKeys keysToDisable | ||
== ====================== ======================================================= | ||
Comment on lines
+7
to
+13
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That is not what this table is supposed to be. It should provide a description of the function. The arguments are provided in the specific function section. |
||
|
||
Functions | ||
========= | ||
|
||
This comment was marked as resolved.
Sorry, something went wrong. |
||
DisableKeys | ||
~~~~~~~~~~~ | ||
|
||
Define the presence of the keys which the SW allows the user to disable, and allow SW to disable them. | ||
A unifying device containing this feature should adopt HID++ reset policy #3 and implement the 0x0020 | ||
configuration change feature. | ||
Comment on lines
+21
to
+23
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This description can go above the functions table. I would also reword it a bit. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This continues, there isn't supposed to be a |
||
|
||
GetCapabilities | ||
~~~~~~~~~~~~~~~ | ||
|
||
Summary | ||
|
||
Returns keys which the SW allows the user to disable | ||
|
||
Parameters | ||
|
||
None | ||
|
||
Returns | ||
|
||
- disableableKeys [8bits] keys which the SW allows the user to disable | ||
|
||
+---+---+---+---------+--------+------------+---------+----------+ | ||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | | ||
+===+===+===+=========+========+============+=========+==========+ | ||
| | | | Windows | Insert | ScrollLock | NumLock | CAPSLock | | ||
| | | | (Start) | | | | | | ||
+---+---+---+---------+--------+------------+---------+----------+ | ||
Comment on lines
+40
to
+45
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Tables should be under a There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This also hasn't changed. |
||
|
||
GetDisabledKeys | ||
~~~~~~~~~~~~~~~ | ||
|
||
Summary | ||
|
||
Returns list of keys the SW has disabled | ||
|
||
Parameters | ||
|
||
None | ||
|
||
Returns | ||
|
||
- disabledKeys [8bits] keys which the SW has disabled | ||
|
||
+---+---+---+---------+--------+------------+---------+----------+ | ||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | | ||
+===+===+===+=========+========+============+=========+==========+ | ||
| | | | Windows | Insert | ScrollLock | NumLock | CAPSLock | | ||
| | | | (Start) | | | | | | ||
+---+---+---+---------+--------+------------+---------+----------+ | ||
|
||
|
||
SetDisabledKeys | ||
~~~~~~~~~~~~~~~ | ||
|
||
Summary | ||
|
||
Selects which keys to disable | ||
|
||
Parameters | ||
|
||
- keysToDisable [8bits] keys to disable | ||
|
||
|
||
+---+---+---+---------+--------+------------+---------+----------+ | ||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | | ||
+===+===+===+=========+========+============+=========+==========+ | ||
| | | | Windows | Insert | ScrollLock | NumLock | CAPSLock | | ||
| | | | (Start) | | | | | | ||
+---+---+---+---------+--------+------------+---------+----------+ | ||
|
||
|
||
Returns | ||
|
||
- disabledKeys [8bits] echo of the keysToDisable parameter | ||
|
||
|
||
+---+---+---+---------+--------+------------+---------+----------+ | ||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | | ||
+===+===+===+=========+========+============+=========+==========+ | ||
| | | | Windows | Insert | ScrollLock | NumLock | CAPSLock | | ||
| | | | (Start) | | | | | | ||
+---+---+---+---------+--------+------------+---------+----------+ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please adjust the decorators size.