hi,
do you know how to get the status of num, caps, scroll lock? i am
writing a program which changes the LEDs on keyboard. after exiting the
program, i need to restore the original state of LEDs. would you tell me
which function in C can achieve this?
thx a lot!!
p.s. i use setledstate() in /usr/src/linux/drivers/char/keyboard.c to
set the LEDs in my program.
--
- By Hackker
****************************************************
Mr. Hackker Wong,
Y99 Student of Computer Science,
The Chinese University of Hong Kong.
****************************************************
-The World can't run without computer technicians-