Skip to content
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

Enable more braille keys via BRLTTY #6483

Open
gregjozk opened this issue Oct 19, 2016 · 6 comments
Open

Enable more braille keys via BRLTTY #6483

gregjozk opened this issue Oct 19, 2016 · 6 comments
Labels
blocked p5 https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priority

Comments

@gregjozk
Copy link
Contributor

Currently users, who use BRLTTY as their display, can use only five of many commands. Is it possible to enable more of them?

Jožef

@jcsteh jcsteh added blocked p5 https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priority labels Oct 25, 2016
@jcsteh
Copy link
Contributor

jcsteh commented Oct 25, 2016

The issue here is finding good mappings for the BRLTTY commands, as they don't seem to map overly well. Are you a BRLTTY console user? Do you have some feeling as to what BRLTTY commands should map to what NVDA commands?

P4 because this affects only a few users.

@Adriani90
Copy link
Collaborator

cc: @bramd, @Andre9642

@LeonarddeR
Copy link
Collaborator

@gregjozk Are you still interested in getting this fixed?

@gregjozk
Copy link
Contributor Author

gregjozk commented Apr 28, 2020 via email

@hss16
Copy link

hss16 commented Mar 23, 2022

Hi Folks,
I am also interested in brlinput support for brltty (for my Handy Tech) brailledisplay.
Let me explain why I can't use the Handytech Driver of nvda:

My Machine runs Linux and windows with nvda in a kvm based virtual machine.
I was able to forward my BrlAPi port to the windows guest and can now use my brailledisplay in linux and windows.

I think having brlpinput support over brltty could improve thing a bit :-).
Thx

@Adriani90
Copy link
Collaborator

Hmm this is going to be very complex if you want to cover every braille display. I think the HID standard will replace this at some point.
Here is a list of all possible key bindings for a full keyboard, so one would have to compare wich key bindings are common on most braille displays and match them with this list. Also for other braille displays, I think it would be better to have specific issues covering the braille display and the keys that need to be mapped.
https://brltty.app/doc/KeyBindings/kbd-desktop.html

bramd added a commit to bramd/nvda that referenced this issue Aug 27, 2023
* Mark the BRLTTY braille display driver as thread safe
* Improve availability check for BRLTTY braille display driver: only report as available if a named pipe for BrlAPI is present
* Add more BRLTTY key bindings (nvaccess#6483):
  * learn: toggle NVDA input help
  * prefmenu: open the NVDA menu
  * prefload/prefsave: Load/save NVDA configuration
  * time: Show time
  * say_line: Speak the current line where the review cursor is located
  * say_below: Say all using review cursor
seanbudd pushed a commit that referenced this issue Aug 30, 2023
Partly related to issue #6483.

Summary of the issue:
The BRLTTY driver was available even when there was no BRLTTY instance with BrlAPI enabled running on the local computer (the only type of connection supported for now). Opening the actual connection has quite a long timeout, so this cannot be done as an availibility check. However, BrlAPI uses named pipes in a known location, so we can use that to check for availability. In the future we might also expose this as a port selection if multiple pipes are discovered and/or we add an interface to connect to a BrlAPI server on another host over TCP.

While I was working on this driver, I also marked it threadSafe and added a few more keybindings.

Description of user facing changes
The BRLTTY driver will not show up in the list of braille displays if no local BRLTTY with BrlAPI enabled is running.
More BRLTTY commands have been mapped to NVDA actions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked p5 https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priority
Projects
None yet
Development

No branches or pull requests

5 participants