Hi Thomas,

Yes and no.  Some of the menus in Puppy1 such as adjust volume, adjust rate of 
speech and change voice still use the VB6 keyboard input, because those are 
chunks of code from before.  The main menus though are DirectX keyboard input 
routines that I took from Homer on a Harley and just changed what they say.

DirectX keyboard input does not have key presses and releases.  You simply pole 
all keys or the keys that you are looking for being pressed and it returns a 
value of the state of the key.

What I do and have always done is have a slight delay before poling for another 
key press.  It is working perfectly for me in Puppy1 and Homer on a Harley.  I 
guess though that the speed of some computers and fingers may make a 
difference.  It really shouldn't though for the speed of the computer as the 
delay routine should be constant regardless of computer speed.

Yes, sorry, I forgot that some computers do not have a right control key.  I, 
as I did in Homer on a Harley will add for that the space bar does the same as 
the right control key.

BFN

----- Original Message -----
Hi Jim,
I am having a couple of keyboard issues with Puppy1 i would like to ask 
you about. Perhaps you can address them in a future update of the game.
the first one is about the menus. While in the menus pressing down arrow 
or up arrow scrolls too rapidly. Instead of moving to the next item it 
will often scroll 2 or 3 menu choices at a time. I believe you mentioned 
before you have switched to DirectInput for keyboard handling. In that 
case the menu keyboard input for the menus should be looking for 
keyboard releases and not key presses. If youcheck for a key release 
rather than a key press in menus the menu item won't scroll to the next 
item until the up or down arrow is released.
The second one is just a laptop vs desktop keyboard layout issue. As the 
game currently exists you need to shoot with the left control key and 
fire with the right control key. that is fine for desktops and laptops 
with a full sized keyboard, but not all laptops come with two control 
keys. I have owned two laptops with a left control key only, and in that 
case the gamer could fire but not get information on enemy positions. 
Perhaps you could add an extra information key to the game to address 
this issue with laptops?
Cheers.

---

     Jim

On the keyboard of life, always keep one finger on the escape key.

[EMAIL PROTECTED]
http://www.kitchensinc.net
(440) 286-6920
Chardon Ohio USA
---
Gamers mailing list __ Gamers@audyssey.org
If you want to leave the list, send E-mail to [EMAIL PROTECTED]
You can make changes or update your subscription via the web, at
http://audyssey.org/mailman/listinfo/gamers_audyssey.org.
All messages are archived and can be searched and read at
http://www.mail-archive.com/[EMAIL PROTECTED]
If you have any questions or concerns regarding the management of the list,
please send E-mail to [EMAIL PROTECTED]

Reply via email to