[BRLTTY] Brlapi under Android and parameters
Peter Lecky
peter.lecky at stopka.sk
Wed Mar 5 12:58:12 UTC 2025
Hello,
Yeah, but you have to create instance of Parameters first, but nice
solution. I still have problem to configure blinking: My actual try:
parameters=new Parameters(connection);
parameters.cursorBlinkPeriod.set(Parameters.DEFAULT_SUBPARAM,1000);
parameters.cursorBlinkPercentage.set(Parameters.DEFAULT_SUBPARAM,(byte)50);
parameters.cursorDots.set(Parameters.DEFAULT_SUBPARAM,(byte)255);
Cursor dots are changed by this code, but cursor is static. What else i have to set?
If i enable blinking in brltty settings menu, then cursor starts to blink and i can change frequency by code above
Thank You
On 4. 3. 2025 17:40, Dave Mielke wrote:
> [quoted lines by Peter Lecky on 2025/03/04 at 15:55 +0100]
>
> A note on the Java bindings. I don't have your original code in front of me, but I think it contained a line like this:
>
> CursorBlinkPeriodParameter p = new CursorBlinkPeriodParameterj
>
> It'd be m8ch simpler to wirte:
>
> Parameter p = Parameters.cursorBlinkPeriod;
>
--
Peter Lecký Stopka n. o.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://brltty.app/pipermail/brltty/attachments/20250305/543062fb/attachment.htm>
More information about the BRLTTY
mailing list