Hello, when I test this, I still get the same results as before either
using Brltty 6.9-3 on Debian Testing, or compiling it myself and using
the 'run-brltty' script. I'm attaching a Python script you can run that
will show the key being pressed. Can you give it a try and change the
'skip Identical blank lines' setting and see if it works for you?
When I change the setting to yes it shows 'PRDIFLN'.
When I change the setting to no it shows 'LNUP'.
Same for 'NXDIFLN' and 'LNDN'.
Dave mentioned that the 'Skip Blank Braille Window' setting can also
have an impact, but I'm not sure which key that impacts.
Thanks.
On 2/28/26 1:36 PM, Dave Mielke wrote:
[quoted lines by Jason J.G. White on 2026/02/28 at 07:06 -0500]
thus maybe, in the Linux case, Orca should
support processing the keyboard events delivered by the driver so that the
user can assign them to screen reader commands in their preferences.
That'd be a configuration nightmare. If you can convince the Orca people to add
that kind of serious maintenance overhead to their project then more power to
you. Or, maybe, you could join the Orca team and implement it for yourself and
then hang around forever to keep it up-to-date.
I rather suspect tht the Orca people are rather content to have brltty do that
work for them. It's not only easier for them, but also gives their braille
users a reasonably common user experience between text and graphics modes.
You mentioned, in anotehr response, that other screen readers process the
braille device key events directly. That, of course, is because they have to do
so because there's no intermediary to do it for them. That's why Braille HID
has been developed even though any kind of close look at it shows that it
really is rather poor.
#!/usr/bin/env python3
# Show which key was pressed on the Braille display.
import brlapi
import errno
#import Xlib.keysymdef.miscellany
import time
try:
b = brlapi.Connection()
b.setParameter(brlapi.PARAM_CLIENT_PRIORITY, 0, False, 100)
b.enterTtyModeWithPath("")
print("Server version " +
str(b.getParameter(brlapi.PARAM_SERVER_VERSION, 0, brlapi.PARAMF_GLOBAL)))
# print("Display size " +
# str(b.getParameter(brlapi.PARAM_DISPLAY_SIZE, 0, brlapi.PARAMF_GLOBAL)))
# for cmd in b.getParameter(brlapi.PARAM_BOUND_COMMAND_KEYCODES, 0,
# brlapi.PARAMF_GLOBAL):
# print(b.getParameter(brlapi.PARAM_COMMAND_KEYCODE_NAME, cmd,
# brlapi.PARAMF_GLOBAL), cmd)
tests = 5
b.writeText('enter key: ')
for i in range(1,tests+1):
k = b.readKey()
keyCode = b.expandKeyCode(k)
name = b.getParameter(brlapi.PARAM_COMMAND_KEYCODE_NAME,
k, brlapi.PARAMF_GLOBAL)
msg = 'test '+str(i)+ ' of '+ str(tests)+': '+ name
b.writeText(msg)
print('name ', name)
print('key: ',k,' ',keyCode)
time.sleep(3)
b.leaveTtyMode()
b.closeConnection()
except Exception as e:
print("error")
print(e)
_______________________________________________
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: [email protected]
For general information, go to: http://brltty.app/mailman/listinfo/brltty