Page 1 of 1

keyboard input

Posted: Fri Apr 06, 2018 9:16 am
by Grandad
Is it possible to use keyboard input such as 'y' or 'n' to respond to a question rather than have a pop up as noted in the dialogs.gs file or would there be a problem in which 'country' the keyboard is set to for the PC it's working with?

If so, would it be identifying the 'number' such as the numbers listed in the dizzy config file for the action keys??

Re: keyboard input

Posted: Wed Apr 18, 2018 8:13 am
by NigeC
Usually you can use char codes n is 78 y is 89 but I have no idea how you can do this with DizzyAge sorry

Re: keyboard input

Posted: Wed Apr 18, 2018 8:29 am
by Grandad
Thanks NigeC, I wouldn't know how to apply it to DizzyAge, but at least it's a starting point to see how much I can screw the engine by experimenting :v2_dizzy_cool:

Re: keyboard input

Posted: Wed Apr 18, 2018 12:28 pm
by NigeC
I was just looking and sys_getkey or sys_getchar might work?

http://www.simion.co.uk/gs9/doc/annex08 ... sys_getkey

Re: keyboard input

Posted: Thu Apr 19, 2018 8:31 am
by Grandad
Thanks for the info :tup: