Can someone update PocketNester's button mapping? - Windows Mobile Development and Hacking General

hello,
PocketNester is probably the most stable and usable NES emulator for PocketPCs. unfortunately, it's difficult to use with most of our HTC devices because it doesn't let you map the green/red phone buttons, not even with AE Button Plus, so you usually only have one button in either side of the d-pad (joystick).
the source code for PocketNester is available on sourceforge.net. i don't know how much effort is required to get the mapping to work, but i'm sure a working final product will be very much appreciated by the community.

here's more information from MSDN blogs on how to use the Talk button in an application's code: http://blogs.msdn.com/windowsmobile/archive/2005/09/02/460327.aspx

Related

KEYBOARD DRIVER for universal

PLEASE...
This is a request from a newbie! But not only me but many others, could some one please point me in the direction for a KEYBOARD DRIVER for the universal which will allow simultaneous key to be pressed at one. (For example two of the directional keys pressed at the same time to go diagonally in an emulator)
...Is there any one who could create a Driver :?: :?:
There are others, including myself that are willing to donate money to the creator(s)
See the multiple posts within this thread:
http://forum.xda-developers.com/viewtopic.php?t=54028&highlight=keyboard

Need some help mapping keylayouts

Hi all,
I'd like to assist in building better keylayouts for Android ported to other mobile devices--many projects are underway, but nearly all feature poor keylayouts that simply make the device work, nevermind pressing "Call" for power, "End" for menu, and "Camera" for back.
I'd like to start a project to build nice keylayouts for all devices, and ideally take those mappings into a form project to allow users to customize them as they'd like and export--a sort of "keylayout" respository.
How can I find the scancodes associated with keypresses on new Android devices? I tried showkeys from the terminal, but unfortunately that wasn't of much help.
Can anyone set me on my feet to get this project underway?
Thanks much for any advice!

More Hardkeys??? My Imagination....

Is there a way to enable more hardkeys using some software or virtualization trick???
playing Java games is a nightmare.
I use AEBPlus to map the volume up & down key to act as the Left and Right softkeys which is fine until you need to type in a name for your character in some games....
Another Thing:
why is there no good java emulator for HTC devices?
even a low cost, clone phones could run some java games while it does not run in jBed or jBlend. what gives??? i thought that PPCs would be more better in running java apps.
why not we all try to develop an input system for devices without hardware phone keypad?
------->Just my Imagination.............zzzz.......---------->
#let's suppose we coded a program abc.exe which runs in the background when executed...
#the abc.exe is, of course, configurable. we can map a hardware key, say, the long-press of call (green) button which will invoke the abc.exe which will display a phone keypad with a transparent background phone keypad and long-press again to send it to the background.
#say we run a jar midlet (java program) and need input for names...
#we long-press the call button which brings up the abc.exe application.
#we click on the number or letters and which gets typed into the java app.
wouldn't that be nice????
I was wondering that other phones having hardware keypads send a hex value to the os each time a key is pressed. As a whole, what we need is an app that interprets the input using a virtual keypad (the above abc.exe) and sends the required signal, hex, or whatever the program (java application) is bound to recognize and accept it as an input.
Knowledge/Tools Required:
#some knowledge in C++ or java.
#a utility for listening to keystrokes of devices with hardware keypad
#...............
#.................
until then, i dream on....and on.....
P.S: don't wake me from my dream to tell me that somebody has developed such software....
P.S: sorry if i am posting in the wrong section.
Actually buddy the prob u r facing has been already solved and also someone made one app just like ur imagination but i dont remeber the thread topic u can search if i again stumble upon it i will share

Reassignment of hardware buttons for scummVM?

Hi,
I am trying to run scummmvm on galaxy and all in all games play very nicely. [ http://forums.scummvm.org/viewforum.php?f=17 for the forum]
(I really recommend to check Monkey Island 3 for instance)
The problem is that the SGS does not have enough hardware buttons (e.g camera key, dedicated search key) to use for all the functions (eg bring up virtual keyboard, right click).
Do you know any manner that would create "virtual" hardware keys (e.g. pressing menu plus back would be deemed as "camera key"; rooting / messing with kernel are available options)? Or in general can you think of any other solution on this matter?
Thanks,
E
+1!
I noticed Volume keys are not changing the volume, so if it's possible to remap them it would be awesome. You only need keyboard trigger and right click, right?
Did you find a working version for the SGS? (2.1)
I tried to find one and only discovered it does not work for Android 2.x yet.
Can you point me to what you have found?
Thanks!
Paulo
Yes I did:
http://anddev.at.ua/news/scummvm_port_in_progress/2010-06-02-1
Just download ScummVM-1.1.1-alt-vorbis.apk. Do not forget to unzip scummvm.zip on memory card (I did it in the internal sd).
You also need to to create a folder named "scummvm" on the internal sd to enable saves etc.
If you have the Curse of the Monkey Island you just copy to the external SD (in a folder) the Resources and the COMI.** and you are set to go.
On my SGS the Curse of Monkey Island plays PERFECTLY (with sound etc), but there is no right click button and no virtual keyboard button.
The author of the program is aware of the SGS problems, but...:
"
138 lubomyr (08.26.2010 0:51 Am)
I know about problem with Galaxy S, but not have any idea how to fix this
Galaxy S have volume '+' '-' keys, but mamaich SDL-lib - not support this keys and i can't use this keys for scummvm"
Please note that the "back" button is currently used for "skip".
If we could somehow temporarily remap these keys, then we would have a game running perfectly!
Please note that this is the "unofficial" version of android scummvm - the official one (by a guy named "GUS") is due in September.
(check official forum here http://forums.scummvm.org/viewforum.php?f=17&sid=d0fc57e707ce8ac1409f9eee750dcb77 )
That's all I have ATM.
Evans_Prophet said:
Yes I did:
http://anddev.at.ua/news/scummvm_port_in_progress/2010-06-02-1
Just download ScummVM-1.1.1-alt-vorbis.apk. Do not forget to unzip scummvm.zip on memory card (I did it in the internal sd).
You also need to to create a folder named "scummvm" on the internal sd to enable saves etc.
If you have the Curse of the Monkey Island you just copy to the external SD (in a folder) the Resources and the COMI.** and you are set to go.
On my SGS the Curse of Monkey Island plays PERFECTLY (with sound etc), but there is no right click button and no virtual keyboard button.
The author of the program is aware of the SGS problems, but...:
"
138 lubomyr (08.26.2010 0:51 Am)
I know about problem with Galaxy S, but not have any idea how to fix this
Galaxy S have volume '+' '-' keys, but mamaich SDL-lib - not support this keys and i can't use this keys for scummvm"
Please note that the "back" button is currently used for "skip".
If we could somehow temporarily remap these keys, then we would have a game running perfectly!
Please note that this is the "unofficial" version of android scummvm - the official one (by a guy named "GUS") is due in September.
(check official forum here http://forums.scummvm.org/viewforum.php?f=17&sid=d0fc57e707ce8ac1409f9eee750dcb77 )
That's all I have ATM.
Click to expand...
Click to collapse
Thank you very much!
Will try!
Paulo
Solution
Evans_Prophet said:
Hi,
I am trying to run scummmvm on galaxy and all in all games play very nicely. [ for the forum]
(I really recommend to check Monkey Island 3 for instance)
The problem is that the SGS does not have enough hardware buttons (e.g camera key, dedicated search key) to use for all the functions (eg bring up virtual keyboard, right click).
Do you know any manner that would create "virtual" hardware keys (e.g. pressing menu plus back would be deemed as "camera key"; rooting / messing with kernel are available options)? Or in general can you think of any other solution on this matter?
Thanks,
E
Click to expand...
Click to collapse
LOOK HERE FOR A TEMPORARY SOLUTION: forums.scummvm.org/viewtopic.php?t=9651
(I'm not able to post links yet, so you have to paste it yourself.)

aDosBox v0.2beta (with virtual keyboard) just released

Please help us test it out and report bugs/issues. Thanks
Just search "adosbox" in Google, I am not allowed to post external URL here.
Any kinds of help are welcome
Hi, i downloaded this last night for one reason and one reason only (for now anyway) - to play championship manager and i managed to get it start a new game it took over an hour to do it and then simple things like changing pages takes over a min so it esentially unplayable.
Other that great work and i wish i could be of more help but im afraid ive never done any software programming in my life
Wow, this is perfect so far. I just tried cyberdogs on it and it ran amazing. The program is really easy to get running. Is there a way to mount hard keyboards to the controls?
Just tried it. works like a charm.
Yep, works awesome.
Sent from my GT-I9000 using XDA Premium App
I am really enjoying adosbox right now on my Transformer, but lack of 3.1 mouse support has saddened me to the point where I compiled from source myself. I have it working sort of (on the java end), but because the build screen size doesn't match with the actual screen size, I am having issues with the mouse not following perfectly. I would like to get mouse support working better for 3.1 devices (and probably better emulation going for pre 3.1 devices), but I need to edit some of the C files for that. Unfortunately I have not done much native code on Android, so I am running into problems compiling. The ndk-build script seems to fail on me with an error of "missing separator" in the SDL-1.2 make file. Sadly I have never used make so I don't know how to correct it.
Today I saw the build_instructions.txt in jni/application/dosbox/. Are you building through this instead of the ndk (do I need to get gcc ARM cross compiling installed on my linux box)? In either case where does the dosbox-0.74-cfg-pelyaSDL.tar.gz come from?
Any help you could give me in getting the native part to build would be appreciated. Then I can focus on getting some usability stuff working and throw patches your way.
P.S. The feedback page is broken.
Hi. That's great news.
I love dosbox an I appreciate your work.
If you don't mind I will post some issues here.
I've installed adosbox 0.2.5 on my Desire Z.
I've tried to run some apps and games.
Dos Navigaror: Usable.
1. Mouse trackpad emulation works quite well, however it only moves in x,y axis separately. No intermediate directions (I suppose the hardware does not allow it). Any possibilities to solve this?
2. Touch screen mouse movement works quite well - however with delay.
2a. Well, sometimes there is no mouse. I swing on the screen with no effect.
3. It does not respond to screen tap as a left mouse click. Well it works sometimes. I have no control on that.
3a It does not respond to double tap (double click) at all.
4. No possibility to bind/emulate arrow keys. I can't find such function in dosbox menus. ---edit --- I could bind some keys but... see the edit part down there.
5. On PC I've been using config to autostart Dos Navigator with dosbox start. How to do it on Android? I couldn't find .conf file on my device.
System shock: starts but unplayable.
1. I've got a slide show. I've increased the CPU cycle to 1000 even to 2500 with no satisfactory effect.
2. On screen mouse movement works but the cursor jumps into different position when tapping.
3. With no option for binding keys this game is 100% unplayable.
Hocus Pocus: works but no arrow keys.
1. It starts nicely.
2. It reacts on "FN" key - the hero is shooting.
3. However no hardware arrow keys makes the game unplayable. Moving with trackpad sucks so much that the game is unplayable.
Oxyd Magnum: Playable but not exciting.
1. It react on taping the screen.
2. On screen mouse works well but with some ugly delay. This takes out most of the fun.
So the main issues I see are the cpu speed, mouse delay and the hw keys binding.
You are making a great job.
However making dos games being fun on the phone needs good controls workaround. Without that - no fun.
Thank you.
Don't forget we appreciate your work.
-------------edit-----------
Keys binding:
The .dosbox\mapper-0.74.map file (the file for binding keys) can not be found from the phone level. It must be done from a PC level. It's not a big issue but what to hide the file for?
After rebinding left FN, left shift and tab keys Hocus Pocus is quite playable.
It would be nice if you provide us the list of numbers for HW keys on some devices.
I can't bind "menu" as right arrow. And I can't bind search, sym, and the two shortcut keys. They are left useles.
And binding some keys as arrows disables trackpad!
Sound:
No mater what number I set for cycles I can't make the sound to play smoothly.
Any suggestions?
Someone knowns the makefile system for adosbox "libapplication.so"?
Ive been trying for a long time to recompile adosbox for mips, and i still unable to compile that file, not even for arm.
Hello,
I am using aDOSBox to run QBASIC (yes I know there are "better" and "faster" interpreters/compliers, but some have bad issues, see one comment about writting files on X-11 BASIC, others have a max file size) with an external keyboard (so I can see the screen while typing - can you make the virtual keyboard transparent?).
I have found that some keys do not work nor processed correctly in this version (freshly gotten from Google Play), namely the "." when shifted (I get ":" every time, all other punction keys appear to be fine). At first I though this was a KCM problem (had problems with mismapped keys on a Droid X), but while I was briefly able to rooted my tablet (someone please read/question my post/question about the Azpen A701 rooting) I was able to view the generic.kcm and other kcm files (lost root right after this) and those files define the shift period combination correctly. Also I get a ">" when I hit that combination in the 920 Text Editor.
Function keys seem to send to Android key processes (opening/launching other apps) instead of work in the program. Insert, Delete, Home, and End do not seem to be working at all.

Categories

Resources