[BRLTTY] Smart Copy (Was: Re: xbrlapi: Minor clipboard issues and one small feature) request
Nicolas Pitre
nico at fluxnic.net
Wed Feb 25 15:52:46 UTC 2026
On Wed, 25 Feb 2026, Sébastien Hinderer wrote:
> So far I am not super used to long keypresss, so I do not really know
> how long I should keep the keys pressed to make sure I get a long rather
> than short keypress. I assume I could get some audio feedback to
> distinguish short from long keypresses buty my sound card is broken at
> the moment.
This is much nicer with audio feedback indeed.
But you should try this:
Open Programs/alert.c, Search for ALERT_CLIPBOARD_END and insert a
.tactile line so it looks as follows:
[ALERT_CLIPBOARD_END] = {
.tactile = ALERT_TACTILE(20, BRL_DOT_4 | BRL_DOT_7),
.tune = "m86 at 50 m74 at 30"
},
Then in the preference menu go to Event Alerts, set Alert Tunes to No
and Alert Dots to Yes.
> I seem to remember you Dave do not find double presses very appropriate,
> but I think as far as I am ocncerned, I would prefer having to press the
> key combination twice rather than having to keep it pressed.
Parsing double press of a key combination is hard. For a single key
that's easy but not for multiple keys. If keys aren't pressed and
released in almost perfect sinchronicity you'll get confused key
sequences that may be interpreted completely differently than what the
user intended.
More information about the BRLTTY
mailing list