FBA The Creator

The True Multiplatform PC / PocketPC Opensource Development Tool - Read Only Mode - Kept only for historical purposes - Thank you all ;)
It is currently Thu Jun 04, 2026 4:58 am

All times are UTC




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Sun May 31, 2009 2:09 pm 
Offline
User avatar

Joined: Mon Apr 13, 2009 2:22 pm
Posts: 23
Location: Italy
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.


Top
   
PostPosted: Mon Jun 01, 2009 12:40 pm 
Offline
FBA Administrator
FBA Administrator
User avatar

Joined: Fri Mar 21, 2008 11:19 pm
Posts: 238
Location: Rome - Italy
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 :)


Top
   
PostPosted: Mon Jun 01, 2009 4:14 pm 
Offline
User avatar

Joined: Sat May 30, 2009 2:57 pm
Posts: 18
Location: Germany Frankonia
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 1985 times

_________________
[x] -- Click at the [x] while pressing [SHIFT] + [ALT] + [NUM-LOCK] simultanously.
Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited