[BRLTTY] Brlapi under Android and parameters

Samuel Thibault samuel.thibault at ens-lyon.org
Tue Mar 4 14:20:28 UTC 2025


Hello,

Peter Lecky, le mar. 04 mars 2025 15:18:40 +0100, a ecrit:
> I work on integration of one applicattion with brltty, using brlapi under
> Android. I am trying to set cursor blink rate, but without success. What am I
> doing wrong?
> 
> connection=new Connection(new ConnectionSettings());
> if(displayReady()) {
>     connection.enterTtyMode(0);
>     CursorBlinkPeriodParameter p=new CursorBlinkPeriodParameter(connection);
>     p.set(CursorBlinkPeriodParameter.DEFAULT_SUBPARAM,500);
> }
> else return false;
> connection.write("hello world",5);
> 
> I see the "hello world" text, and also cursor under character at position 5 but cursor does not blink.

Perhaps you also need to set the CursorBlinkPercentParameter?

Samuel


More information about the BRLTTY mailing list