FBA The Creator
http://www.fbacreator.com/fbaforum/

keyboard problems in WM6 smartphone
http://www.fbacreator.com/fbaforum/viewtopic.php?f=2&t=187
Page 1 of 1

Author:  Robotop [ Sun May 31, 2009 2:09 pm ]
Post subject:  keyboard problems in WM6 smartphone

Hi. I own a Samsung SGH-i600 WM6 smartphone with integrated qwerty keyboard. I noticed that the "onkeydown" event returns keycodes that are, in some cases, duplicated for more than one key. So, when I tried to decode the keyboard for a special entry (math formula input), my development was stopped. The debug version on PC works fine, but the deploy on WM6 phone doesn't. Not only the keycodes are different (this will be only a look-up mapping problem), but the duplicate keycodes makes impossible to do the job. Can you suggest a trick to solve the problem ? Thank you in advance.

Author:  evilmaio [ Mon Jun 01, 2009 12:40 pm ]
Post subject:  Re: keyboard problems in WM6 smartphone

I haven't try FBA on a device with keyboard and I didn't need a keyboard in the past ( i used just stylus events for my games)
actually I haven't an easy way to reproduce this behaviour.
I'll check this on WM6 emulators in next weeks :)

Author:  Birger [ Mon Jun 01, 2009 4:14 pm ]
Post subject:  Re: keyboard problems in WM6 smartphone

Hi @all;
I was wondering that some keys on my glofiish also send the same codes.

To find out the keycodes I did some changes to Tutorial 05:
inserted a loop:
for c =0,255 do
mykeynum = numkeypress(c)
if mykeynum > 0 then break end
end

Displaying mykeynum and Keycode c at the end.

!!! also added an if numdown > 50 then quit() end therefore you can exit the program by longer time pressing downkey, because on my X800 is no titlebar and also no X; I had to stop the app by restting the device.

After building the CAB I missed to save the project..
but if you want to try: the cab installs into programme/spiele.

Attachments:
File comment: this is a zipped folder with a setup.cab
ButtonChecker.zip [123.21 KiB]
Downloaded 1984 times

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/