Advertisement

Keyboard status question

Started by December 19, 2003 09:17 PM
1 comment, last by gameovercl 21 years, 2 months ago
Hi there! I know that this question has nothing to do with OpenGL... but I have searched everywere and found nothing. How the hell can I know that SCROLL LOCK is on? (the same question applies to SCROLL LOCK and NUM LOCK) Thanks in advance!
well as I believe your operating system doesnt receive a message from those 3 keys ever, so you could only find out by accessing the hardware directly (using directinput or whatever)

but i could be wrong ofcourse
Advertisement
If you use SDL it''s a value set in the keypressed event
If you don''t know the win32 api, just use sdl

This topic is closed to new replies.

Advertisement