[BRLTTY] Brlapi under Android and parameters

Peter Lecky peter.lecky at stopka.sk
Tue Mar 4 14:55:35 UTC 2025


> Perhaps you also need to set the CursorBlinkPercentParameter?
Ah ok, I see, thank you.

On 4. 3. 2025 15:20, Samuel Thibault wrote:
> 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
> _______________________________________________
> This message was sent via the BRLTTY mailing list.
> To post a message, send an e-mail to: BRLTTY at brltty.app
> For general information, go to: http://brltty.app/mailman/listinfo/brltty
>
-- 
Peter Lecký Stopka n. o.


More information about the BRLTTY mailing list