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.
_______________________________________________
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: [email protected]
For general information, go to: http://brltty.app/mailman/listinfo/brltty

Reply via email to