Re: Interacting with keyboard LEDs

2006-12-09 Thread Jonathan Curran
Chris, I googled for {xlib caps led} and the first link was to a forum post: http://forums.whirlpool.net.au/forum-replies-archive.cfm/619126.html The third post down, the guy made a program to set the LED of his scroll lock key. The C source is at http://members.optusnet.com.au/foonly/hddled.c

Re: Interacting with keyboard LEDs

2006-12-09 Thread Chris Lasher
Jonathan Curran wrote: > Spur of the moment answer: call setleds program from within your program > > better answer (fox X11): > http://python-xlib.sourceforge.net/doc/html/python-xlib_16.html > > Take a look at get_keyboard_control() and change_keyboard_control(). As far as > knowing how to proper

Re: Interacting with keyboard LEDs

2006-12-08 Thread Jonathan Curran
On Friday 08 December 2006 23:18, Chris Lasher wrote: > Is there a way to interact with keyboard LEDs (for Caps/Scroll/Num > Lock) in Python? I'd like to achieve an effect similar to the *NIX > command "setleds -L", but I'm not sure where to start, but I figured > someone out there would have an id

Interacting with keyboard LEDs

2006-12-08 Thread Chris Lasher
Is there a way to interact with keyboard LEDs (for Caps/Scroll/Num Lock) in Python? I'd like to achieve an effect similar to the *NIX command "setleds -L", but I'm not sure where to start, but I figured someone out there would have an idea or maybe experience with something similar. Thanks very muc