in reply to manipulating the lights on a keyboard

You can't decend low enough into the OS to do this directly from Perl. But you should be able to do this with the help of XS, and perhaps some C.

And whatever you need to do on your system to get it working is very likely not going to work on a different OS.

Abigail

  • Comment on Re: manipulating the lights on a keyboard

Replies are listed 'Best First'.
Re: Re: manipulating the lights on a keyboard
by hardburn (Abbot) on Jul 24, 2003 at 15:30 UTC

    There are some platform-specific libraries for manipulating keyboard LEDs (like xleds), but the link above is working with hardcoded memory locations. It'll work on any i386 platform, regardless of OS. Now, getting to work on a different architecture is a different matter . . .

    ----
    I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
    -- Schemer

    Note: All code is untested, unless otherwise stated