| View previous topic :: View next topic |
| Author |
Message |
floorball92
Joined: 05 Apr 2008 Posts: 30 Location: Germany -> Hessen -> Hanau
|
Posted: Wed Aug 13, 2008 10:50 pm Post subject: number Keyboard |
|
|
Hello,
I need an onscreen keyboard. The special thing is, that there only should be the numbers 0-9 and the dot. Is there an finish sript or do I have to create it on my own work??
Bye, Sebastian _________________
 |
|
| Back to top |
|
 |
k!rk
Joined: 18 Jul 2008 Posts: 11
|
Posted: Wed Aug 13, 2008 11:18 pm Post subject: |
|
|
| You have to build one on your own if you need such a keyboard. |
|
| Back to top |
|
 |
floorball92
Joined: 05 Apr 2008 Posts: 30 Location: Germany -> Hessen -> Hanau
|
Posted: Thu Aug 14, 2008 1:27 am Post subject: |
|
|
Thank you.
I thougt it, but its better to ask then do it on my own work and then see, that it wasn' t nessesary.
Bye, Sebastian _________________
 |
|
| Back to top |
|
 |
pspZorba
Joined: 22 Sep 2007 Posts: 156 Location: NY
|
Posted: Thu Aug 14, 2008 4:14 am Post subject: |
|
|
no no
You can use the (sony) OSK keyboard, you can set it up to have only the numbers.
There are samples in the SDK.
if you have problem and use CPP, I can provide you a class that encapsulate everything. _________________ --pspZorba--
NO to K1.5 ! |
|
| Back to top |
|
 |
floorball92
Joined: 05 Apr 2008 Posts: 30 Location: Germany -> Hessen -> Hanau
|
Posted: Thu Aug 14, 2008 11:55 pm Post subject: |
|
|
oh yes, please give me the class. But is it possible to use the dot with the "only Number Sony OSK" ?? _________________
 |
|
| Back to top |
|
 |
k!rk
Joined: 18 Jul 2008 Posts: 11
|
Posted: Fri Aug 15, 2008 2:52 am Post subject: |
|
|
| no, thats exactly why i said you have to build one yourself rather than using the build in osk. |
|
| Back to top |
|
 |
pspZorba
Joined: 22 Sep 2007 Posts: 156 Location: NY
|
Posted: Fri Aug 15, 2008 9:24 am Post subject: |
|
|
Sorry guys but K!rk is right, I didn't see "the dot".
However, with the Sony 's osk you can have several keyboards you cycle througth, using the "select" key, I mean during the capture.
So you can set up the num keyboard + one of the classic keyboard in which there is the "dot".
Each time you want to access the "dot" you press "select" when you want to go back to the number keyboard you press "select".
If this is acceptable for you I can post the code. _________________ --pspZorba--
NO to K1.5 ! |
|
| Back to top |
|
 |
mypspdev
Joined: 11 Jul 2007 Posts: 178
|
Posted: Fri Aug 15, 2008 6:06 pm Post subject: |
|
|
Yes, please post your code.
I'm using the $onY OSK but for my application I want immediately the Numeric OSK screen instead of literal default, so I have to manage select.
May be there is a parameter to run calling the OSK to immediately show the numeric screen. Have you any chance to clarify how to?
please let post your code, anyway.
regards |
|
| Back to top |
|
 |
ne0h
Joined: 21 Feb 2008 Posts: 386
|
Posted: Fri Aug 15, 2008 11:13 pm Post subject: |
|
|
There's a sample in the sdk!
See the PSP_UTILITY_OSK_INPUTTYPE_*! |
|
| Back to top |
|
 |
pspZorba
Joined: 22 Sep 2007 Posts: 156 Location: NY
|
Posted: Sat Aug 16, 2008 11:59 am Post subject: |
|
|
Here is the class
http://rapidshare.com/files/137646502/pspZorba040-osk2.rar.html
You will find a main.cpp in which you have a sample.
In this sample you will have to capture two fields:
- a URL (ip or url) you have two keyboards you can cycle.
- a port, there is only a keyboard with number.
If you want to use it in your own HB, the class assumes you are able to init the GU and that there is a list called theGuList.
If you don't have the init, use the function provided in the main
If your list has another name, modify the define in ZBvirtualKeyboard.cpp line 43. _________________ --pspZorba--
NO to K1.5 ! |
|
| Back to top |
|
 |
mypspdev
Joined: 11 Jul 2007 Posts: 178
|
Posted: Thu Aug 21, 2008 5:22 am Post subject: |
|
|
| ne0h wrote: | There's a sample in the sdk!
See the PSP_UTILITY_OSK_INPUTTYPE_*! |
Thanks,
I was working with an old Toolchain!!
That's why I did not found all osk issues: my program was derived from one of the first attempt to set up and run OSK, now osk is fully at "open-air"... |
|
| Back to top |
|
 |
|