Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
End Users
Pocket PCActiveSyncMultimediaEBooksWirelessSmartPhones
Developers
Windows MobileSmartPhonesWinCE ProgrammingVB for WinCEVC++ for WinCEPlatform BuilderTest Tools
PocketPC DirectoryFree SoftwareWeb Resources
Related Topics
PalmMobile PhonesMore Topics ...

Pocket PC Forum / Developers / Platform Builder / July 2008

Tip: Looking for answers? Try searching our database.

Cell phone type keyboard in windows ce

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Adrian Proszczuk - 31 Jul 2008 08:25 GMT
Hi

I am developing cell phone keyboard driver(more or less, for sure there will
be D-pad and numerical keys and some functional), it will be communicating
with ARM board with UART
my question is how should I handle multiple pressing of one key (lets say
'2') so that user can have char 'b' on the screen. I am using WINCE 6.0

for now I am using keybd_event with KEY_PRESSED and KEY_RELEASED,

please give me some advices

For now I am strugling with Timer, using SetTimer function, and frankly
speaking it doesn't seems to work, if you can please send me some example of
usage because description on MSDN is very poor.

Best Regards, Adrian Proszczuk BioControl Poland
Rob - 31 Jul 2008 14:14 GMT
Hi,
I don't think you need WM_TIMER, it is not nice anyway...
(dependency's , inaccuracy)

just remember the GetTickCount() value when the last keydown was received.
If the next keydown is received withing a time shorter than "timeout", and
the key is the same as the previous one, you need to replace the prev char by
the next char under that key. If the time passed is greater, just start from
scratch with the next char. (if you're in text-type mode, not during regular
dialing ofcourse)

This seems more like a general (windows-) programming question, than a PB
question....

Greetings,
Rob.

> Hi
>
[quoted text clipped - 13 lines]
>
> Best Regards, Adrian Proszczuk BioControl Poland
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.