-
-
Notifications
You must be signed in to change notification settings - Fork 637
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
Support multi-line braille displays in HidBrailleDriver #17001
Conversation
WalkthroughThe recent updates enhance the NVDA screen reader's support for multi-line braille displays, allowing full utilization of braille cells across multiple rows. Key changes include a refined detection and management system for braille display capabilities, improving accessibility. The driver now supports various device configurations, enhancing both functionality and logging for diagnostics. Changes
Assessment against linked issues
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
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.
Actionable comments posted: 1
See test results for failed build of commit 4ed175a856 |
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.
Thanks @alexmoon for breaking the ice for support for multi-line braille!
Just some minor suggestions
Co-authored-by: Sean Budd <seanbudd123@gmail.com>
See test results for failed build of commit b6326d3508 |
Cc @bramd as you have some experience with multiline displays. |
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.
Approved, pending @michaelDCurran's thoughts
See test results for failed build of commit 94f064cc92 |
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.
The display method is much easier to follow now, thanks.
Link to issue number:
Closes #16993
Summary of the issue:
Multi-line braille displays using the HID standard driver only support the first line of cells.
Description of user facing changes
Users with multi-line braille displays that connect using the
HidBrailleDriver
will now be able to use all cells of their display.Description of development approach
HidBrailleDriver._cellValueCaps
is now a list of all braille cell controls in the device.numRows
is set to the length of that list andnumCols
is set to theReportCount
of each element of the list. Indisplay
, thecells
are split across the elements of_cellValueCaps
.Testing strategy:
Tested against Tactile Engineering's Cadence tablet. Manual testing only due to required hardware interactions.
Known issues with pull request:
Code Review Checklist:
Summary by CodeRabbit
New Features
Improvements
Bug Fixes