Xperia PLAY Touchpad emulation, using trackpad. - Android Software Development

Hello,
I almost got Minecraft running on my HTC Desire, WITH NO EXTERNAL CONTROLLERS! DPAD Works, Put/Destroy works, BUT, i can't look around. That was controlled by the right touchpad, on the Xperia PLAY. My question: Can we use the trackpad, to emulate the touchpad? If someone finds the answer, i'll also release the info on how to play it using no external controllers
I am keeping the info, since i don't want someone to steal my ideea
(Vid coming tomorrow)

What if someone "steals your idea"? someone smart enough to emulate the right Touchpad probably knows better than to look at your thread.

Check /system/usr, find out what controls the Touchpads and then use something else to remap it (like say, a PS3 controller, Wii remote).

GazaIan said:
Check /system/usr, find out what controls the Touchpads and then use something else to remap it (like say, a PS3 controller, Wii remote).
Click to expand...
Click to collapse
As i said, i succeded in emulation of ALL the keys, with NO EXTERNAL controller. This is my goal. Everything must be done on the phone. The optical trackpad (on most phones) would be a good choice for emulation.
*starts recording vid*

andreigherghe said:
As i said, i succeded in emulation of ALL the keys, with NO EXTERNAL controller. This is my goal. Everything must be done on the phone. The optical trackpad (on most phones) would be a good choice for emulation.
*starts recording vid*
Click to expand...
Click to collapse
AFAIK; this is not possible. The touchpad on the Xperia play is a synaptics touchpad running "below" android. I am currently writing a kernel module that emulates the synaptics touchpad, sending events to the linux input system while reporting as a synaptics tp.
I'll let you know how I get on. Just compiling now...

Rc-Blob said:
AFAIK; this is not possible. The touchpad on the Xperia play is a synaptics touchpad running "below" android. I am currently writing a kernel module that emulates the synaptics touchpad, sending events to the linux input system while reporting as a synaptics tp.
I'll let you know how I get on. Just compiling now...
Click to expand...
Click to collapse
Oh, AWESOME! (You'll be mentioned in "Credits", in video and the thread i'll start )

Any progress?

Related

Gamepad on Adam?

Heya! I just had a reather interesting idea. Would it be possible to use a HID-Compatible Gamepad like a Logitech PS2-Clonepad on the Adam? For example to use it together with an Emulator? That would make for a quite neat non-touch gaming experience.
The problem with that would probably be finding a gamepad that supports HID. Works perfectly with my Bluetooth HID keyboard though...
Thanks to the hard work of Meister_li, I can say that there /is/ a usb gamepad emulator IME for android.
Unfortunately, I do not currently have a HID gamepad to test it with, but you can see the thread I started requesting help getting the app. It has the APK attached.
http://forum.xda-developers.com/showthread.php?t=929243

[Q] Snes9x ex and Sixaxis Controller - 2 players using ps3 controllers

Hey everyone,
I was wondering if anyone had any luck using 2 PS3 controllers in SNES9X-EX?
Is it possible to bind keyboard buttons to both player 1 and 2 within the emulator. Posted in the SNES9x forums, but they seem pretty dead.
Thanks!
Pietro
interesting thought. but i don't know how that'd work. I would like to know as well.
my idea is to use the first 12 letters of alphabet for controller 1 and next 12 for controller 2.
Since you can bind buttons in both programs, it should work. The problem I'm facing is that you can't assign the input of "Keyboard" to more than 1 player.
I stand corrected, here is an update from Robert Broglia
Right now there is one key map per device type, and USB controllers are part of the generic "keyboard" type. Once I get a host cable for testing, I should be able to treat them as a separate device with their own key config. Full per-player mappings are coming after that.
Click to expand...
Click to collapse
Yeah the main problem is that the utility just lets you assign different keys to the controllers. So there's definately enough keys on the keyboard for several controllers but snes9x ex only allows for 1 player to use the keyboard. It should be easy to just allow both players to use the keyboard as long as they are all different keys right? I wonder why this wasn't fixed yet. It is the best snes emulator I've found.. Just a shame about that limitation.
Don't know if this is the right place to post this.
But why had snes9x ex been removed from android market.
Catch ya later..
crualfoxhound said:
Don't know if this is the right place to post this.
But why had snes9x ex been removed from android market.
Catch ya later..
Click to expand...
Click to collapse
I talked to the developer and he said google removed it due to "Content Violation"
In my experience, both controllers work but they share the same buttons. So two player games don't work correctly.
hobjob said:
Hey everyone,
I was wondering if anyone had any luck using 2 PS3 controllers in SNES9X-EX?
Is it possible to bind keyboard buttons to both player 1 and 2 within the emulator. Posted in the SNES9x forums, but they seem pretty dead.
Thanks!
Pietro
Click to expand...
Click to collapse
Bump

[Q] What About Controller in game

Hi i have a simple question what about games that doesn't suported controller ? Is there a button maping that simulate the the touchscreen and hardware button like JXD device ??
Dead-neM said:
Hi i have a simple question what about games that doesn't suported controller ? Is there a button maping that simulate the the touchscreen and hardware button like JXD device ??
Click to expand...
Click to collapse
The controller has a few different modes. There will be GameSmart mode for games that support controllers and for touch screen games, there is Mouse mode. Games like Fruit Ninja are still playable in this mode because you move the left analog to swipe across the screen as your normally would.
MCZ.userSDK said:
The controller has a few different modes. There will be GameSmart mode for games that support controllers and for touch screen games, there is Mouse mode. Games like Fruit Ninja are still playable in this mode because you move the left analog to swipe across the screen as your normally would.
Click to expand...
Click to collapse
Ok ok but for games like ultimate stick ninja or flashout 3d ? you need to touch more than one button so mouse mode won't work.
My question is :1/ Is there a way to emulate a touch screen with the controller ?
2/ if not is the mojo compatible with tincore keymapper or apps like that ?
thanks
Dead-neM said:
Ok ok but for games like ultimate stick ninja or flashout 3d ? you need to touch more than one button so mouse mode won't work.
My question is :1/ Is there a way to emulate a touch screen with the controller ?
2/ if not is the mojo compatible with tincore keymapper or apps like that ?
thanks
Click to expand...
Click to collapse
We have been speaking to the developer of tincore keymapper and there may be other options that we introduce in the future. Right now the focus is on enabling gamepad support natively within games. It's not just us that are pushing this either - Google and Nvidia have been part of the general outreach and you're going to see an explosion of new games and updates for older titles over the next 6-12 months that bring controller support on Android to the fore.
Mad Catz Rich said:
We have been speaking to the developer of tincore keymapper and there may be other options that we introduce in the future. Right now the focus is on enabling gamepad support natively within games. It's not just us that are pushing this either - Google and Nvidia have been part of the general outreach and you're going to see an explosion of new games and updates for older titles over the next 6-12 months that bring controller support on Android to the fore.
Click to expand...
Click to collapse
Hi buy my mojo today thanks for your awnser i think i'm gonna root it etc ...
Dead-neM said:
Hi buy my mojo today thanks for your awnser i think i'm gonna root it etc ...
Click to expand...
Click to collapse
Hi!
If my app does not work drop me an email.

Using Android Phone as a touch screen controller for M.O.J.O.?

Is there an app that would allow you to use your preexisting Android smartphone/tablet as a touch screen controller for the M.O.J.O console?
I am looking for something that would allow full pinch/pull/tap/swipe gesture functionality.
During my search I came across a great number of apps that turn your Android/iPhone device into a wireless remote control/mouse to control your TV or computer, but nothing that would allow you to use one Android device's touchscreen to control another Android device (M.O.J.O. in this instance).
Please let me know if you have any leads. :highfive:
interesting, quick search, i found these
https://play.google.com/store/apps/details?id=de.im.RemoDroid&hl=en
https://play.google.com/store/apps/details?id=com.tournesol.tabletremote&hl=en
I already try this app, but unfortunatly it doesn't work.
I use Droidmote.
"Envoyé depuis mon LG-D802 avec Tapatalk"
The problem is that if you do not stream the picture back to the phone it can be difficult to know where you are placing your finger.
With my mapper you can stream touches or use parts of the of the phone touchscreen as different kinds of controllers that you can stream but, so far, I have not written multitouch to multiouch streaming.
If this is an scenario useful for some people I would add it.
tincore said:
The problem is that if you do not stream the picture back to the phone it can be difficult to know where you are placing your finger.
With my mapper you can stream touches or use parts of the of the phone touchscreen as different kinds of controllers that you can stream but, so far, I have not written multitouch to multiouch streaming.
If this is an scenario useful for some people I would add it.
Click to expand...
Click to collapse
I have a working alpha with this functionality. If anybody is interested send a PM.
tincore said:
I have a working alpha with this functionality. If anybody is interested send a PM.
Click to expand...
Click to collapse
Yes I think there would be a strong demand for this type of function as the number of devices increase per person. Sending the image back to the phone would be difficult and mapping it to known keys seems like the easier solution. If its possible, I would like to try your alpha. :good:
I uploaded a beta of the mapper that supports that.
To subscribe for betas:
http://tincore.wiki-site.com/index.php/Main_Page#Betas_.C2.A0
I will pushing it to production very soon.
I'll try to make a video too to demo networking as well.
A small demo of remote connection with multitouch streaming.
tincore said:
A small demo of remote connection with multitouch streaming.
Click to expand...
Click to collapse
Nice work tincore. It looks like you have made some real progress with getting touch screen capability. looking forward to trying it out some time once your have it ready.
willdj79 said:
Nice work tincore. It looks like you have made some real progress with getting touch screen capability. looking forward to trying it out some time once your have it ready.
Click to expand...
Click to collapse
This is all on the play store for some days.
Remote connection to Android or PC streaming is available for months. The new thing is the multitouch to multitouch simulation.
tincore said:
This is all on the play store for some days.
Remote connection to Android or PC streaming is available for months. The new thing is the multitouch to multitouch simulation.
Click to expand...
Click to collapse
Hey
Is controller emulation/spoofing possible with an existing controller ?
IE select a popular controller (ie supported by gameloft, etc) then you map buttons/keys/sticks to it..
Mobile gamedev's don't like doing controller mapping for some reason
Edit: the ctrlr works okay on gameloft games but not 100% same with GTA games

Dosbox Turbo - Mapping Triggers and Thumbsticks

Hi all,
This thread probably won't get much traction, but I'm pretty sure the developer for DosTurbo isn't very active anymore.
There are really two separate issues here:
1) The analog triggers are not mappable. The in-app mapper does not register them at all. I dug around quite a bit on this, and if I'm not mistaken, DosBox Turbo is really just an android port of Dosbox with some added features. Dosbox itself has it OWN mapper. Has anyone had success getting the triggers to work?
2) The thumbsticks. Now I don't know why the developer restricted the mapping here, but here are the options:
a) map a thumbstick to keyboard keys (like up, down, left, right)
b) map one thumbstick to mouse control, the other to "joystick"
You can only pick either a or b. No combination of both allowed. The problem with this is that I want one thumbstick to map to up, down, left, right and the other to map to the mouse control. You'd think (b) would work, but games without joystick support do not recognize the "joystick" so I'm stuck using the d-pad if I want mouse control on the thumbstick.
FYI, I'm trying to setup the controls of a modern shooter with Duke Nukem 3D. I am very close. The dpad control movements, the right thumbstick controls mouselook, triggers do nothing. I just want the left thumbstick to work like the dpad, and the triggers to work.
If anyone has any advice, please let me know. Like so much in the Android emulation world, things get so very close to perfect without ever reaching it.
Did you tried magic dosbox?
x-nivek said:
Did you tried magic dosbox?
Click to expand...
Click to collapse
That was actually the first emulator I tried for Dos (free version). I found it confusing because at the time I knew nothing about Dosbox. Anyway, last night I bought the full version and yes, the controller mapping is 100% compatible with the Shield Controller. Thanks!
Also it seems the developer for Magic DosBox is active, unlike all the other Dosbox ports. The UI is kind of weird... perhaps that's why I was so confused. Runecrafting and all these other references to fantasy RPGs is an unnecessary layer to the learning curve. That said, the help documentation inside the app itself is quite good.
Actually im interested as well.. can you make make a small guide,link or something for this?
I only found things in russian..
x-nivek said:
Actually im interested as well.. can you make make a small guide,link or something for this?
I only found things in russian..
Click to expand...
Click to collapse
A guide for what? Mapping the Nvidia Controller in Dosbox Turbo, or Magic Dosbox... oor...?
_Concat_ said:
A guide for what? Mapping the Nvidia Controller in Dosbox Turbo, or Magic Dosbox... oor...?
Click to expand...
Click to collapse
Oooops..haha i mean a guide to use magic dosbox on nvidia plz
And after that how is easy is to map the keys
x-nivek said:
Oooops..haha i mean a guide to use magic dosbox on nvidia plz
And after that how is easy is to map the keys
Click to expand...
Click to collapse
Hi people, if there is interest I can make quick video guide for mapper.

Categories

Resources