-
-
Notifications
You must be signed in to change notification settings - Fork 632
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
Braille Sense display driver #1266
Comments
Attachment BrailleSenseNvdaDriver_v0.5.zip added by Casalino on 2010-12-08 13:46 |
Comment 1 by jteh on 2011-11-07 06:38 I've only looked at the code briefly so far. A few points:
|
Attachment braillesense_for_2011.2_and_next.zip added by drein on 2011-11-16 09:45 |
Comment 2 by drein on 2011-11-16 09:46
Remember that the driver is in a beta stage, and we hope that one day this will be included in main NVDA, like other display braille. Best regards. |
Comment 3 by drein on 2011-11-16 09:49 |
Comment 4 by drein on 2012-01-23 10:35 |
Comment 5 by jteh on 2012-01-23 23:10 |
Comment 6 by drein on 2012-01-24 08:34 Onestly, I don't remember if this file is installed when a user install the USB driver also for other screen readers. |
Comment 7 by orcauser on 2012-02-14 11:30 Maybe we should consider louis_backtranslate, to insert the correct characters based on the current nvda braille table. Thanks for your work on this. |
Comment 8 by drein on 2012-03-29 07:27
|
Comment 10 by drein on 2012-05-08 09:39 |
Comment 11 by jteh on 2012-05-21 04:24 I'll try to review this properly soon. Sorry for the huge delay. However, there are two issues first off:
|
Comment 12 by jteh on 2012-05-22 03:22 Some code review: cosmetic: There should be a blank line after the header comments and then another after the imports. cosmetic: The BS_KEYS dict has the closing brace on the same line as the last entry. For readability, it probably makes sense to put it on the next line in this case:
There's no need to import speech, wx or tones, as they aren't used. The releasedKeys set doesn't seem to be used anywhere and should be removed.
cosmetic: There should be a blank line before this. As noted in comment:11, any braille key bindings that only involve dots should be removed, as they produce characters. Most of the others can stay. I'm less certain about chords that only involve space, as we may eventually want to have standard space+dot chords. For now, you can leave them, but be aware that they may be removed in a future release. We need a User Guide section for this driver, including the key bindings. Please see the existing braille display sections in the User Guide for examples. This final point is more an observation than anything you need to worry about. Normally, I'd prefer to keep all state (i.e. variables that aren't constants or global handles such as pressedKeys, _ignoreKeyReleases, etc.) in the class instance, rather than at module level, as they're technically instance specific, not global. In this case, it's harder because the callback is defined at module level. You can actually define it in the instance, but it's trickier. See the alvaBC6 driver for an example. However, this wouldn't stop us from including the driver. |
Comment 13 by jteh on 2012-05-22 04:24 |
Comment 14 by drein on 2012-05-22 08:22
For what i remember, the input keyboard work, because it was the same configuration of BrailleSense. the driver doesn't have official support for now for Braille Edge, and for now it works because some parts of the protocol and keybindings are the same of BrailleSense. For what concern source code, I think Gianluca will look into it soon. |
Comment 15 by drein on 2012-06-04 15:36 We have only one trouble, the driver works with all HIMS devices, except SyncBraille. I asked to HIMS Engeneers if it was possible to unify the dll and have one for all Brailledisplays, but they prefer to rest with 2 dll. |
Comment 16 by jteh (in reply to comment 15) on 2012-06-04 22:59
I'd keep !SyncBraille as a separate driver. However, if you want to avoid code duplication, you could subclass the original HIMS driver and just override specific methods. This would require the code to be changed to not load hansoneConnect.dll at import time, though. |
Comment 17 by drein on 2012-06-06 13:33 Tested with all devices! |
Attachment senseEdgeDrivers.zip added by drein on 2012-06-06 13:35 |
Comment 18 by jteh on 2012-06-07 02:05
Typo: scrools -> scrolls. Cosmetic: Also, this dict is indented with two tabs; it should be one. The closing brace has two unnecessary tabs after it. For the key identifiers, is there any reason you've used underscores rather than camel case as in other NVDA gestures? For example, right_side_scroll_down instead of rightSideScrollDown. In
Cosmetic: There's no need to declare this as global, as it's a constant and you're not assigning to it.
You're fetching ```HIMS_KEYS[a lot here, which is suboptimal. keys() is deprecated and isinstance is more elegant than type() here. Finally, the except clause is open instead of catching a specific exception. I'd change this code to the following:
Once again, thanks for all of your great work. |
Comment 19 by jteh on 2012-06-07 02:09 |
Comment 21 by jteh on 2012-06-07 07:48 |
Comment 22 by jteh on 2012-06-07 08:19 I'm closing as fixed, but please test to make sure none of my changes broke anything. Please reopen if I broke something. |
I've been testing with the current driver and the BrailleEdge. Is it true that f5-f8 still have no function yet? If so, I'd like to investigate whether people would benefit from adding these to the driver. |
@LeonarddeR if you are looking into this, could we find out why connecting to NVDA withe the BrailleSense U2-models breaks the multitasking features on the device regardless of the connection? |
This device is pretty legacy and I don't have one, so even if you'd open a new issue, it's unlikely that I can fix it. I guess you're better off contacting Hims about this. |
Hello,
It may work through BRLTTY, at least for the older variants of the
BrailleSense.
For the newer models, like the BrailleSense 6, I tested and can witness
that BRLTTY supports it in Bluetooth. THe USB does not work yet but I
hope to have such a device soon and to be able to fix the USB support in
BRLTTY.
|
Tried that years ago they didn't seem to be all that interested.
BRLTTY breaks this too, tested with Narator not NVDA as of yet, so I guess that might be left as it is, sadly.
Thanks for replying though.
|
Thomas Byskov Dalgaard (2022/02/03 02:21 -0800):
Tried that years ago they didn't seem to be all that interested.
It seems they are known to not be very responsive, indeed. I approached
them recently to ask a very simple enhancement of their communication
protocol and they didn't follow up.
BRLTTY breaks this too, tested with Narator not NVDA as of yet, so I
guess that might be left as it is, sadly.
What do you mean by "BRLTTY breaks this too", precisely?
|
Reported by Casalino on 2010-12-08 13:45
I developped this driver that lets use the Braille Sense display device from Hims with NVDA. At this point you can use all scrolling keys and the main qwerty or key combination keys as tab, arrows, shift , enter and esc.
I can not completely support all the keyboard as keys are coded using dots rapresentation and I can not find a way to handle localization issues (for example various braille tables).
I implemented an auto scan mode to find the right com or usb port at wich Braille Sense is connected. It seems to be fast enough, but probably I could restrict the scan between the existing com port as indicated in the windows registry.
The text was updated successfully, but these errors were encountered: