[BRLTTY] Brlapi under Android and parameters
Dave Mielke
Dave at mielke.cc
Wed Mar 5 17:24:10 UTC 2025
[quoted lines by Peter Lecky on 2025/03/05 at 13:58 +0100]
>Yeah, but you have to create instance of Parameters first, but nice solution.
No, actually, you don't. It's already there as a static reference within the Parameters class. It's sitting there just waiting to be referenced.
>I still have problem to configure blinking: My actual try:
The default is that the cursor doesn't blink. Those two parameters - rate and percentage - do determine the blinking but blinking itself still needs to be enabled. There's currently no parameter for that but you can do it from within the Preferences menu.
>parameters=new Parameters(connection);
You don't need to do this.
>parameters.cursorBlinkPeriod.set(Parameters.DEFAULT_SUBPARAM,1000);
>parameters.cursorBlinkPercentage.set(Parameters.DEFAULT_SUBPARAM,(byte)50);
>parameters.cursorDots.set(Parameters.DEFAULT_SUBPARAM,(byte)255);
Just use Parameters. directly as the references are static.
--
I believe the Bible to be the very Word of God: http://Mielke.cc/bible/
Dave Mielke | 2213 Fox Crescent | WebHome: http://Mielke.cc/
EMail: Dave at Mielke.cc | Ottawa, Ontario | Twitter: @Dave_Mielke
Phone: +1 613 726 0014 | Canada K2A 1H7 |
http://mielke.cc/xmother.html (Letter from a Feminist ex-Mother)
More information about the BRLTTY
mailing list