SCAN_PGUP & SCAN_PGDN
Displaying 1-6 of 6 total.
1
Please enter a numerical value for the importance of this sticky.
Enter 0 to unsticky.
Wooly

I tried to use these two keys in my game but it don't seem to work. Someone else have this problem?

Posted on 2004-12-17 14:56:22

Zip

That's numpad page down and up. You want... PG_UP = 201, PG_DN = 209

The scientific method I used:
void AutoExec()

{
while (!b3)
{
UpdateControls();
for (tab = 0; tab < 255; tab++)
{
if (key[tab])
{
key[tab] = 0;
Log(str(tab));
}
}
}
}
Zip

Posted on 2004-12-17 16:29:01

Wooly

Thanks! It works!

Posted on 2004-12-17 23:30:40

Gayo

I've put a note in the scancode section of the docs about this. I assume the same is true of Insert/Delete/Home/End? What are the scancodes for those?

Posted on 2004-12-19 11:20:25

Zip

210/211/199/207... but jees gayo, I even provided the code (missing variable declaration admittedly). Am I the only person who can think around here?

Zip

Posted on 2004-12-19 11:25:55

Gayo

No, but I'm lazy. So very, very lazy.

Posted on 2004-12-19 11:55:11


Displaying 1-6 of 6 total.
1
 
Newest messages

Ben McGraw's lovingly crafted this website from scratch for years.
It's a lot prettier this go around because of Jon Wofford.
Verge-rpg.com is a member of the lunarnet irc network, and would like to take this opportunity to remind you that regardless how babies taste, it is wrong to eat them.