Page 1 of 1

Detect Scroll Lock state

Posted: Mon Nov 01, 2004 11:03 am
by JJunkin
Is it possible to detect the state of keyboard keys such as Scroll Lock, Caps Lock, Num Lock from PHP?

Thanks

Posted: Mon Nov 01, 2004 12:00 pm
by swdev
I doubt it very much.

PHP is a SERVER scriptiing language and is executed on the server, so at bes, it could probably only get the state of the server's keyboard, assuming there is one attached to the server, and that is probably not what you want.

Maybe it is possible in JavaScript. I don't know

Posted: Mon Nov 01, 2004 2:20 pm
by rehfeld
not possible w/ php

"maybe" w/ javascript, but i doubt it.

Posted: Sun Dec 26, 2004 1:12 am
by feyd
From the last time I went through JavaScript's functionality, it did not have the ability to get system level scan codes.