Skip to content

Fix Smart Beetle scroll keys#8198

Merged
michaelDCurran merged 2 commits into
nvaccess:masterfrom
BabbageCom:himsBeetleFix
May 8, 2018
Merged

Fix Smart Beetle scroll keys#8198
michaelDCurran merged 2 commits into
nvaccess:masterfrom
BabbageCom:himsBeetleFix

Conversation

@LeonarddeR

@LeonarddeR LeonarddeR commented Apr 23, 2018

Copy link
Copy Markdown
Collaborator

Link to issue number:

Fixes #6086

Summary of the issue:

The Hims Smart Beetle has an internal issue, allowing both the left and right scroll key to send two different key codes, one key code specific to the Braille Sense Classic, and one specific to the Smart Beetle. This has initially been fixed, but regressed again in #7865, for which I'd like to say sorry.

Description of how this pull request fixes the issue:

Moved the two scroll keys that were missing from the SmartBeetle model class from the BrailleSense2S class to the base Model class.

Testing performed:

With a Smart Beetle, I no longer intentionally received the "Unknown key" message in the NVDA log.

Known issues with pull request:

None

Change log entry:

@feerrenrut feerrenrut left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Happy for this to be incubated when you are ready.

Comment thread source/brailleDisplayDrivers/hims.py Outdated
0x10<<8: "f4"
0x10<<8: "f4",
0x20<<8: "leftSideScroll",
0x40<<8: "rightSideScroll"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Minor: leave a comma on the end so that when there is an addition, the diff is just additions.

@munawarb

Copy link
Copy Markdown

Hi, Awesome, I’m running the snapshot and the scroll wheels are working as expected. Thanks!

@LeonarddeR LeonarddeR added the BabbageWork Pull requests filed on behalf of Babbage B.V. label Oct 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BabbageWork Pull requests filed on behalf of Babbage B.V.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

hims smart beetle not working as expected

5 participants