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 (
|
See test results for failed build of commit 4ed175a856 |
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. |
seanbudd
left a comment
There was a problem hiding this comment.
Approved, pending @michaelDCurran's thoughts
See test results for failed build of commit 94f064cc92 |
michaelDCurran
left a comment
There was a problem hiding this comment.
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
HidBrailleDriverwill now be able to use all cells of their display.Description of development approach
HidBrailleDriver._cellValueCapsis now a list of all braille cell controls in the device.numRowsis set to the length of that list andnumColsis set to theReportCountof each element of the list. Indisplay, thecellsare 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