Anyone developing games in Flash AIR? - Xperia Play Q&A, Help & Troubleshooting

Anyone developing any games or applications in Flash AIR? Has anyone been able to access the dPad in Flash?
It doesn't seem to correspond to any keycode that can be tracked. I've done a hardware keymap display and while I can get codes for the menu, etc. keys, the dpad and other buttons seem give no response.
Anyone have success with this?

ookami007 said:
Anyone developing any games or applications in Flash AIR? Has anyone been able to access the dPad in Flash?
It doesn't seem to correspond to any keycode that can be tracked. I've done a hardware keymap display and while I can get codes for the menu, etc. keys, the dpad and other buttons seem give no response.
Anyone have success with this?
Click to expand...
Click to collapse
The d-pad should work fine, it will work for any game that uses the arrow keys on the keyboard. As for the rest of the buttons you will need to do some clever tricks to get them to work with regular flash games, you would need to convert the key presses to virtual keyboard presses, kind of the same way xpadder or joy2key works on the PC.

I'm not seeing any keycode generated at all by the dPad.... nor the other buttons.

http://www.appbrain.com/user/webkitchen/air-applications
Adobe air apps for android.
Ps. In future please don't post questions OF ANY KIND in development. This section is only for developers to release there work, we have a Q&A forum for questions.

DPad R = key(79)
DPad L = key(80)
DPad D = key(81)
DPad U = key(82)

move to apps and themes or q&A this is not a dev topic.

Related

Keyboard Tweak for Morphgear & Others

Hi,
I was wondering if anyone knows of a tweak that lets you use the keyboard on games and emulators such as Morphgear or other apps to simulate hard keys. I had a look on the Touch Pro forum and came across a nice program that enables you to use certain keys for Morphgear, the downside is that some of the keys get a little mixed up which I assume is a compatibility problem or hardware difference. But the concept is there. It's just that with the lack of a D-Pad making use of the keyboard for things other than typing would be really useful. If there isn't one out yet, do you think someone will come up with one in time.
Link to the Touch Pro tweak - I've tested it and other than than the keys get a bit mixed up it works
http://forum.xda-developers.com/showthread.php?t=425646&highlight=morphgear
Hi, when you tested the kfortouchpro app on your Rhodium was it playable?
disable eT9 and it works
Hi,
disable eT9 and it works:
You want to disable eT9. Go into the registry and change to this:
Code:
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Layouts\e0010409]
"Layout Text"="COMP IME"
"Ime File"="compime.dll"
then soft reset. that disables eT9 and leaves you with the windows mobile standard IME.
http://forum.xda-developers.com/showthread.php?t=469486
Than you can remap buttons with ae button.
I had the same problem, my first solution was described here:
http://forum.xda-developers.com/showthread.php?t=531823
with the ability to kept eT9, but it wont work with emulators like Gen PPC.
Hope it helps you.
I downloaded KforTP (do a search, can't remember where from). You can select the kb setting you want without having to soft reset. Works perfectly for me when using the smartgear emulator.
Thanks Bub3D. I tried your first solution and it worked, at least in morphgear - genpp doesn't seem to recognise the keys on one side of the keyboard.. Just out of interest, have I actually disabled anything that I might use? Everything seems to work, but what does eT9 do?
I have tried GenPP unsuccessfully. Morphgear SNES works but not the genesis module. Anyone any ideas? It seems to load up games but then black screen when it gets past the title screens. Also crashes the device sometimes when doing this.
I'd happily pay good money for a decent genesis emulator on the TP2 if anyone knows of any.
I'm looking into a new phone and one thing I would really like is the ability to play old games such as those found on MAME, SNES, and GBC. Unfortunately, the state of Windows Mobile game emulation has not progressed much in the past two years. With many phones now abandoning the D pad and screen resolution now higher than what some emulators can manage, programs that worked marginally for my 8125 are reported not working on newer devices. As WM moves on to WM7, I left wondering if any emulators will be left. I noticed that the Iphone and Android phones have emulation development ongoing. Perhaps it is the challenge of getting something to work on something new. I have no programming skills whatsoever so I'm left tapping away on a keyboard lamenting the fact that my next probable phone won't be as fun as I had hoped (since other phones do not suit my productivity needs or exceed my budget for overall cost of ownership). Hopefully, some of these tweaks listed above will work for the TP2 for AT&T's version.
kfortouchpro is NOT needed on this device for morphgear...
in morphgear:
o go to any button config screen
o when assigning the buttons hold down CONTROL while hitting the key
o go to global options menu
o enable 'polling' method
o enjoy!
SmartGear also works without any special tricks at all.
home: http://www.bitbanksoftware.com/SmartGear.html
youll want to go through the forums to get the REAL latest version:
http://www.modaco.com/content-page/...o-gameboy-emulator-for-sp-beta-test/page/940/
I've got a question. I'm using Morphgear, but I can't play some games, because I don't have multitouch on my phone. That's why I can't do, for example, uppercut in Mortal Kombat, which requires two buttons pressed at the same time. I would like to map some button to the buttons on my phone - for example red headphone, green headphone, the volume buttons, etc. It would be great. I tried some applications like AE Button or Dred Sensor, they work with typical using the phone, but not in Morphgear. When I try to map the keys in options, it looks like the are mapped, but they don't work in any game. Is it possible to do that? I don't want to buy external bluetooth controller, I want to use the buttons on my phone.
kamiledi15 said:
I've got a question. I'm using Morphgear, but I can't play some games, because I don't have multitouch on my phone. That's why I can't do, for example, uppercut in Mortal Kombat, which requires two buttons pressed at the same time. I would like to map some button to the buttons on my phone - for example red headphone, green headphone, the volume buttons, etc. It would be great. I tried some applications like AE Button or Dred Sensor, they work with typical using the phone, but not in Morphgear. When I try to map the keys in options, it looks like the are mapped, but they don't work in any game. Is it possible to do that? I don't want to buy external bluetooth controller, I want to use the buttons on my phone.
Click to expand...
Click to collapse
to get mine to work i simply mapped the keys using the on screen(pop-up form the bottom) keyboard rather than the physical keyboard. it then worked on the physical keyboard. I got this method somewhere on the forums not sure where.
So, you mapped the keys to the keyboard and then you were able to use for example volume buttons on the phone to control the game? That's what I want to do.

Fn key not working in Rhodium

Hi.
I have a norwegian touch pro 2, which means my keyboard is a bit "strange"and have theese weird æøå buttons. I don't need those to work, but my Fn key, neither my ctrl key (which is placed where your Fn key is placed at the lower left) will not give me access to any Fn function keys like / ! () etc. Is this a know issue? Is there a way for me to fix this?
Ps. Thanks a lot for porting Android to TP2. Except for this and GPS all my needs are satisfied, and Android is so much better to use than WM6.5. So thanks a bunch guys, going to make a small contribution as soon as I get my first paycheck next month
martiert said:
Except for this and GPS
Click to expand...
Click to collapse
Whats wrong with your GPS?

Quake 2 for Android

Hi,
I tried out Quake 2 for android from here :
Not allowed to post links yet... its on sites.google.com
and it looks pretty slick. In the running demo I get about 65-70 fps. However sadly I'm not able to play since the configuration from the config.cfg file is set for different type of phone. They use volume up and down buttons to navigate and some other hardware buttons (Kamera/Zoom/Home) to fire and other stuff.
Anyone knows how I need to configure this file to remap e.g. the Home or the Back button to some commands on the Galaxy S? With the config file that you can create from the menu for touchscreen phones all hardware buttons act normal (volume, home, back).
If someone with a little more experience in this topic or someone already got this working, I'd appreciate any hints on how to get this awesome game working
Thanks, Kai
Its never going to be really playable until someone makes proper controls for it. I got it working by modifying the controls in the source code. Its very easy to do, I just made volume up do enter and vol down press up.

can touchpad be modable to mouse cursor pointer???any mod?

yes answers please...
yes...?
no! I don't think so because you have a touch screen ... its there for a reason, so you can use you finger as "a cursor pointer"
Its not impossible for a cursor hack to be coded but I don't think anyone will make one just because its as useless as it seams.
Just an example of where you could need a cursor --> adverputt.com (awesome flashgame) Furthermore you cant "hover" with your finger, just scroll and select things. Some webpages just require to move a mousepointer over an item to highlight things/mark items and so on.
windows had that so why not android its supposed to be better
Or if you want to use megavideo with froyo....it would add more usability. Im getting mad to raise volume Or click on certain timecode of video.
I agree that there are occasions where where using the track pad as a cursor would be better as touch isn't always as accurate as it needs to be.
Sent from my HTC Desire using XDA App
so, no one interested? i mean in user approach. if so, please post to let people know...it has been readed by 354 till now...
people were able to enable mouse cursor pointer with a bluetooth mouse on the N1 : http://forum.xda-developers.com/showthread.php?t=711268
maybe that could be possible with a touchpad ? any idea ?
(I am interested because I may buy a Desire Z [tmobile g2] soon and I think keyboard + touchpad with mouse cursor pointer might be interesting)

aDosbox fixed for G2 keyboard

https://docs.google.com/leaf?id=0B1VD5urJF8c-YzMxOWNlYWYtODFhMi00NWRkLWIyMzMtMDU3YTExM2RlNjli&hl=en
It is the latest updated version of Dosbox from adosbox.googlecode.com, with keys mapped to match the G2 keyboard. It's my first actual packaged Android app, so hopefully I didn't screw anything up.
Mouse support is disabled, only the left ALT key works to access extended characters, and the ALT key seems to become stuck if you hold it down for too long, but you can un-stick it by pressing it once and releasing.
The track pad is a little too sensitive for my liking, but a few CGA games I tried seem to work well (Telengard, Ultima IV, Legacy of the Ancients.)
You'll need to put DOSBOX.CONF from adosbox.googlecode.com in the root folder of your sdcard.
I don't make any promises as to whether this works or how well it works!
*edit*
Just to clarify, this is not MY port, all I did was take someone else's hard work and fix keymappings for the G2.
Also, no matter what you set the CPU cycles to, it seems to run as fast as it possibly can. It consumes 100% CPU usage and does not hibernate in the background when you switch apps, so be careful!
*/edit*
sweet!
DOSbox!
thx
Has this worked for anyone?
This worked for me, which is great. Made it easier to play with.
It is a tad slow, and there is no sound, but hey, it's dosbox on a friggin cell phone!
The real problem with this port is the lack of a good way to do savestates in DosBox. Since the video hardware can be weird and restoring its state can be tricky there is no official support for saves states in DosBox at all, although there have been some patches.
Anyway, I'm getting off topic here. Thanks for the work fixing the keyboard.
How did you do this? I have a motorola Flipside and I would like to fix the adosbox key mappings for it. Is there anything I can do with settings like the Mapper.txt file, or does it require modifying the code? (I know its not the best phone but my family is on att and they are paying the bill)
I was able to work around not having colon by using this keymap file: http://forum.xda-developers.com/showthread.php?t=837002 and then changing SEARCH to SEMICOLON
Other then this i didn't see any other characters that weren't there (even though some were presented incorrectly)
I am new to adosbox, does this mean I could finally run windows 3.1net on my G2? Lookout ms paint, here I come!
Wait, no mouse? Bummer.
Sent from my HTC Vision with CM 6.1 and Pershoot's Kernel.
keenerb:
How did you modified the bindings? I've changed left and right arrow keys mappings to shift and dot in mapper-0.74.map but it has disabled trackpad x axis
And do you know which codes have these two shortcut keys (that ones with three dots and numbers)?
I'm trying to remap keys for adosbox 0.2.5
Greetings.
----------edit---------
I've managed to change the:
Left FN - it's recognised as Left alt key
Left Shift
Tab
...as 3 of 4 arrow keys.
This disables trackpad scrolling however.
But it let's for playing dos games like Hocus Pocus and so on where you need arrow keys.
Do you (or anyone) know what are the numbers of following keys?:
Keyboard menu key
Shortcut key 1
Shortcut key 2
Search key
Sym key
We've got much room to bind.
Or maybe anyone knows where or how to check those numbers?
I know you are not the original author of the android port of DOSBox but I just cannot get any replies from the person listed as the author and I need to find out how to change things like the display resolution, etc.and thought you might know.
I have a dos program that runs fine on my DOSBox 0.74 installed on my Windows 7 laptop. But every time I try to run it on aDOSBox installed on my rooted android 2.3.4 phone, aDOSBox crashes and throws me out into android. I need to find out how to find out what is causing the crash. I think it might be the display but am not sure. Can you help?
Thanks.

Categories

Resources