>>      I tried the following FLTK code with the above X11 only code
>>      and it seemed to work more reliably.

Ian writes:
> Not so much for me - though that may be an issue with the VM rather than
> a "real" problem.
> 
> I find that, with this code, if I toggle Caps Lock on/off a few times,
> I can easily get to a state where the test code is resolutely reporting
> Caps Lock OFF, but the keybd LED is ON.

        Try the xkbvled(1) application.

        Do you find it too doesn't properly represent the shift lock LED?

        If so, I'd suggest a problem with the VM or X or both; perhaps report
        to the VM guys, as it sounds like an emulation issue. Or, it might be
        the VM is exposing a problem with the one of the two OS's interface
        to reading the keyboard LEDs..


_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to