yashsingh1/xdaforums huggingface dataset:
[Android General] sir_earl:
This seems to happen because GTA 3 isn't catching every touch event (presumably it's just polling at regular intervals), so sometimes the first touch it sees is when the stick is already pushed to one side, but the virtual stick is centred around the first touch. To address this, if you turn the analog stick sensitivity down, the problem can be essentially eliminated.
[Android General] ellokomen:
my controls works flawlessly, but I always use the sensitivity very down(18%), it gives me more control on the analog stick
[Android General] sir_earl:
What does everyone think about the idea of a separate app that allows any hardware keyboard (or controller simulated as a keyboard) to be mapped to the touch screen? This would allow people with a keyboard to play games only designed for a touchscreen. Do you think it would be useful?
[Android General] renaissance.man:
Anyone else try this and have any luck? I turned my analog sensitivity all the way down and still have issues pressing two buttons at once :(

---------- Post added at 03:26 AM ---------- Previous post was at 03:19 AM ----------

Don't most new smartphones that have physical keyboards, also have touchscreens? Which means that they can use the same app?

I suppose there might be a small advantage with physical keys, however, coming from an OG Droid, the key layout is QWERTY and not meant for games. I know I bought a keyboard overlay to mimic a controller that made it easier to find the buttons and for muscle memory. However, I never used it b/c it was another accessory to carry and most of the time I do not plan on gaming on my phone in advance.

When you factor in the small percentage of physical keyboards on Android phones and the inherit need for constant patching/updating, I think it will be an uphill battle in terms of ROI.

If you are not that interested in ROI and want more market share dominance, then it could be worth it. It would depend on your business goals.

Not sure if there are any other factors that I am not taking into consideration.
[Android General] sir_earl:
Can you try running 'Touch Test' or similar from the market and trying to reproduce the behaviour you're talking about? I'd also appreciate if you could try to explain the problem in more detail.
[Android General] sir_earl:
I guess I imagined it would be more useful for tablet owners using external keyboards, or combining it with other apps like Bluez IME or Wiimote Controller.
[Android General] renaissance.man:
In this instance, the tablet would still have a touchscreen, so I suppose my original thought still applies here that the physical keyboard preference will only apply to a very niche segment demographically speaking.

To elaborate, the keyboard could be ignored and not missed by many if using a BT controller, such as the SixAxis.

I think it might be worth it for this reason since you are directly competing with those two products. I am sure some people would prefer those controllers over the PS3. Although it hard to imagine how to predict how your app would interact with other apps, such as Bluez IME. If you are two different design houses, then logistically if could be difficult to maintain the same level of reliability.

---------- Post added at 04:36 AM ---------- Previous post was at 04:27 AM ----------

Downloaded the program and tested with my GTA 3 Map. Pretty cool to see the input tests :D

Looks like the issue is non-existent here so far (only tested for a coupe of minutes). I think this vindicates your app. However, it only verifies that there is a compatibility problem with at least GTA III specially- at least on the Galaxy Nexus (not sure what other games or devices).

You asked for clarification on the problem, however, the problem is really simple. If you provide input on the analog stick while holding down a button- one input will go silent (it will not even register a button press in the game). So in the instance of driving a car when you need to steer with the left analog stick and hold down a button for the acceleration, it will accept only one input at times. This means either gas or no steering = bad. Or steering with no gas = bad.

The issue can be mitigated by applying "on / off" techniques to apply both inputs - however this is tricky and frustrating.

Since this is one of the most popular games right now on Google/Verizon flagship's device, I think there is some value in delving deeper into the issue.

Let me know if you need any other information.
[Android General] mythek88:
new version 0.3.9 has fixed touch profile for my Acer A500, this app is amazing!! Now earlier someone mention about pairing keyboard for touch profile....that feature alone deserves an app of its own...but if you ever gonna implement that to your app, i don't mind paying another $2!
[Android General] sir_earl:
Does this happen consistently in game? i.e. You can only press a single button or analog stick at a time?
[Android General] renaissance.man:
To answer you question - No.

Update: Rebooted the phone and now the issue is present in "touch test". It is easier to see how the interactions are working. With that clarity, it seems like error is occurring, as long as you are holding down any button (or constantly moving the analog), no other input combination is accepted. This means that no two buttons can be pressed simultaneously or analog + button.

I tested with 2 different OEM BT controllers- one just basic SixAxis and one SixAxis DualShock3. Both exhibited the same issue when present.

I didnt change anything else in my configuration in the last couple of hours.

Not sure what else to test to isolate the issue further.

Ideas?
[Android General] sir_earl:
Strange... Can you try testing out the hardware key mappings and see if they also have the same issues. You can probably just try using the compatibility checker app that shows the key down and up events, then check whether the second buttons events are getting through. I'd like to confirm whether the problem is only affecting the touch profiles or not.
[Android General] renaissance.man:
Just re-downloaded your "compatibility checker" app to test hardware keys. Tested for about 5 minutes and everything key seems to be registering properly regardless of whether another key is being inputted.

I will try to test the hardware keys again tomorrow to be sure.

So for now, lets assume the issue is restricted to the touch profiles only.

Do you need any other information to enable you?
[Android General] letifercito:
It's working perfect now on my tablet!

I mapped all the buttons on my ps3 controller using the touch simulation and it's amazing how it works. I have no problems moving using the analog and shooting or looking around at the same time. Tomorrow I will map the keys for gta3 and see how it works, I think it's going to work perfect too.

Only one suggestion, could you make the option for the buttons to swap in diagonal directions?

Because in modern Combat you have to swipe on diagonal sometimes, that's the only detail by now.

I'm thinking now if it would be possible in the future to make a usb mouse and a keyboard be able to map keys so you can play games like on a computer. That would be awesome, but are just ideas :-)

Again, thanks for creating this great app. You make me happy :-)
[Android General] CThiefUK:
Hi,

The app works great on my Galaxy i9000 now, thanks!

Any thoughts on introducing a "modifier"

Button to allow for rudimentary twin-stick control in games like Minecraft Pocket?

Also, any chance of being able to choose which connection method to use when connecting? I ask because my Galaxy always fails method 1 and I have to wait for method 2 before it connects. It's only a little thing but it would be much appreciated :)

keep up the good work!

Dave
[Android General] sir_earl:
I might change this so you can place the end location of the swipe arbitrarily.

It definitely would be possible, though any keyboards and mice would probably need to connect through the app, rather than existing apps, as it would be difficult to intercept key events from a background service (due to security concerns).

You're very welcome. Thanks for your support!
[Android General] sir_earl:
It might be good if you could run the following commands from a terminal while recreating the issue on the controller, then sending me the output:

su

getevent
[Android General] Iunchbox-:
Has this worked for anyone with a Samsung Galaxy SII LTE (rogers)
[Android General] ellokomen:
sir_earl , now that we are talking about external apps, could be possible to make the PS3 controller behave like a Mouse using the analog stick?

This would blow many people minds, because many of us use the HDMI out function on out TVs to play the games using your app, so it behaves like a game console, but we need to stand up to properly set up the game before playing, and a mouse interaction like the built-in in android could make the things different.

Could this be possible? With drag and drop function to simulate a normal finger input.
[Android General] Jackzoor:
Hey guys ! Im using Sixaxis controller on my sgs2, it work perfectly in my n64oid emulator once I rooted it. I wasnt able to play with my ps3 controller 1st in n64oid because it would kinda freeze once I tryed to make it detect my controller. I used an option called Bypass IME in sixaxis settings and it works perfectly with my ps3 controller. The thing is for some reasons it doesnt work with 2 ps3 controllers. It detect both of em, I mapped the same keys for both of em too, but when we are at the players selection (mario kart) we both control the 1st player. so im facing a weird problem here...

was anyone able to make it work with 2 ps3 controllers ? thanks !
[Android General] Us3rName:
You will need to assign different keys for the second controller in Sixaxis settings > Input mappings. Then in N64oid go to Input settings > Key mappings and program the new assignments for the second controller. What is happening is that N64oid is unable to recognize which controller is sending input since they are both mapped to the same hardware key.
[Android General] Jackzoor:
cool ! Thanks a lot for the info ! any tips on how to do it ? do I need to remap the joystick and cross, and if do what do I remap em too ? hehe thanks ! :p

=-==--

gave it a go, cool it worked ! thanks a lot just rebinded all my keys to different keys that the 1st controller did the trick. thanks a bunch ! :D

-==-=-

Now playing mario kart with 2 players no probs. totally worth my 2.00$ investment ! :P Thumb up !
[Android General] ellokomen:
take note that touch profiles only work for 1 controller, for multiple controllers you need to set up input mapping
[Android General] sir_earl:
I've had a report from someone using a Samsung Galaxy S that the touch profiles are not working. Can anyone else confirm this?
[Android General] CThiefUK:
Working fine on my Galaxy S (GT-I9000 running Samsung/Vodafone Gingerbread 2.3.3) since the last update. Touch profiles didn't work prior to that.

Speaking of the Galaxy S, did you see my comments previously? Have you thought about allowing us to configure which connection method to use so we don't have to wait for "method 1" to fail before it works on method 2?

Also, any possibility of twin-stick control?

Thanks

Dave
[Android General] Phaege:
gonna give it a try, thanks ;)
[Android General] ellokomen:
sir_earl, did you see this? http://xdaforums.com/showpost.php?p=20877945&postcount=668
[Android General] sir_earl:
Thanks for that. I'll hold off investigating until I get any more issues reported.

That's something I've been meaning to do - probably just have it save the connection method that was successful so it doesn't need to try it again.

Can you explain a bit more about what you mean with this idea?
[Android General] sir_earl:
I did, but clearly forgot to reply.

I have this on my list. I believe it's possible, but will need to investigate further. If I implement it, it will probably be as an option that allows you to select a stick and button(s) to use as the movement and click. This will then override the hardware keys and touch profiles while the option is enabled.
[Android General] lambstone:
@sir_earl, I've been waiting to purchase you app. Have you made any progress in allowing aftermarket controllers to work?
[Android General] CThiefUK:
Sorry I should have been clearer :)

I presume you can read the inputs from both analogue sticks individually, you just hadn't bothered previously because most people only need U,D,L,R for most games?

How about the ability to create a touch profile which allows you to define U,D,L,R on each stick so we can play FPS games like Modern Combat 3, N.O.V.A 2 HD or Minecraft pocket!

They all need the ability to have U,D,L,R for movement and then dragging U,D,L,R on the right side of the screen to look around. If we could map two sets of controls then FPS games would be playable with a controller which would be awesome!

Thanks
[Android General] renaissance.man:
sir_earl, any update since I provided the "getevent" details from the GNex issue?
[Android General] sir_earl:
This is in fact already possible with touch profiles. Just add 'ANALOG_LEFT' or 'ANALOG_RIGHT'. They can then be configured as absolute (virtual joystick) or relative (drag / look around), and have dead zone and sensitivity settings.
[Android General] sir_earl:
Not yet sorry - I've had the last few days off to enjoy my holiday. I'll try to find some time to look at it soon!
[Android General] renaissance.man:
Of course, completely understandable. Happy New Years!
[Android General] CThiefUK:
OMG I totally missed those!!

Thanks :D
[Android General] Larry94:
@sir_earl, Love your app!

I do have one suggestion, but before that. I have an example :D

Okay say you are playing Real Racing 2, and you have the controller input set to the on the screen wheel. In the sixaxis app, you have the left analog stick set as a touch input analog stick. there is one problem. say you want to turn left than immediately right... The touch event on screen is lost because your analog stick is going left --> neutral ---> right. So the on screen wheel kind of flickers real quick and than the touch event is back in action. This can be fixed by slightly tilting the analog stick forward for the entire race so the on screen wheel is always receiving input.

Now here comes my suggestion, could you possibly add an option where i could set... say... the triangle button as the analog stick activator? so when I press said triangle button, the left analog stick touch event is activated and stays activated, even when the analog stick is not being pressed?
[Android General] mythek88:
If you want to share your touch profiles or need a touch profile to play with your game, here is A THREAD that I just started for that. help me add more games to the list!!
[Android General] Elloco305:
This should go in the op
[Android General] Charsher47:
Can you go into this a little more? I'm trying to get it to work with ShadowGun and my asus transformer prime which has touch drag on the left half for movement and touch drag on the right half for looking around.

I've added left and right analog sticks to a touch profile and tried relative touch with and without wrap mode and also nothing selected, all of which does nothing in the game. Do I need to set something else up?
[Android General] sir_earl:
Modifier keys are probably a good idea, but I have a better fix, which is to make sure the first touch down is always at the centre of the button. This will help games that don't have a fixed analog control (e.g. Real Racing 2).
[Android General] sir_earl:
Thanks a lot for this, I've put a link in the OP.
[Android General] sir_earl:
Have you set the profile you created as the 'Active Touch Profile' on the main screen?
[Android General] shenchuo:
I'd love to volunteer for testing!
[Android General] Charsher47:
Yes, if it's not active, the analogs work the way I had previously mapped them (to keystrokes). When I do set them as the active touch profile, the analogs do nothing at all, no matter what settings I change.
[Android General] sir_earl:
If you run 'Touch Test' from the market, and nothing shows up, can you please try running the follow terminal commands and sending me the output:

su

getevent -v 36
[Android General] Charsher47:
I ran Touch Test and it recognized the analog sticks as drags which I thought was weird so I tried it again in the game and it worked. I didn't change anything in the settings so maybe all I needed to do was restart the driver? Anyway, thanks for the support!
[Android General] sir_earl:
Some devices disable the touchscreen while docked. Unfortunately this will also disable the touch profiles. Could this have been the reason for the first issue?
[Android General] Isriam:
which command will allow me to do "select" as the X button. I tried enter, but doesn't work. I want to be able to use the joystick to move around home screen and then "select" an item to run.

edit: it seems to work on the home screen with "enter" but it doesn't work in the app drawer.
[Android General] sir_earl:
Try DPAD_CENTER.
[Android General] Isriam:
Thank you. Purchased this tonight and loving it!
[Android General] Isriam:
Another question,

What causes the analog sticks to move on the screen? It's shifting the controller on the screen just enough that it is no longer touching the place it should and movement stops.

mc3 does this.
[Android General] sir_earl:
I will hopefully be adding a fix for this in the next release. The main reason this happens is because the first touch seen in the game becomes the centre of the virtual stick, but if you move the sticks quickly, the first touch sent is already off centre. I will be changing this so that the first touch sent is always at the exact centre of the button. This SHOULD work with most games, however I tested it with GTA 3, and it was still experiencing the problem - I assume because the game polls at intervals, and misses the first touch sent. For this, I have a couple of ideas on how to solve that I will be experimenting with.

In the meantime, try going to the games settings and switching control schemes so that the movement joystick is always visible (I believe MC3 has this option). If the option is not available (GTA 3), try increasing the analog button size slightly, and reducing the dead zone and sensitivity. I have been able to get the controls working almost 100% reliably on my phone.
[Android General] Isriam:
Thank you sir. I have made the adjustments you mentioned and it helps tremendously. I also play GTA3 and have my setup almost perfect as well ;)

MC3 seems to be the buggiest so far, but nothing I can't handle.
[Android General] sir_earl:
Did you try changing the control scheme? With the movement joystick always visible, I find this game works flawlessly with the controller.
[Android General] flashcity90:
Okay, so i have profiles working great with gta 3 and mc3 on my touchpad. Then i went to onlive and loaded saints the third. Changed the input controls to match the games keyboard control. Everything is working good except for the right analog stick I can not postion the camera where i want with it(like swivel it around behind my character). Is there anyway to assign the right analog as a mouse? also is there anyway to assign a button with two keyboard controls. So R2 could be accelerate in a car/ sprint on foot because they are two separate keyboard commands.
[Android General] jesesystem:
so you mean dpad_center can be used to shoot ?? , or you just said that for what he wants ?
[Android General] Charsher47:
No, the touch screen is still on when docked. I find that when switching between an active touch profile and no profile I have to restart the driver sometimes to get it working.
[Android General] sir_earl:
I'm unfamiliar with OnLive, but mouse emulation will be in the next release. Not all firmware will support a mouse, nor will all games / apps.

There is not currently any way to assign multiple keys to a single button (unless you're using touch profiles). Unless there is a big demand for this, I will probably not be implementing it.
[Android General] sir_earl:
I was referring to selecting items in Android. Otherwise it depends on the specific game as to what they use a 'shoot'.
[Android General] sir_earl:
Does this happen consistently?
[Android General] Isriam:
is this the default action if you create 2 buttons on a touch profile? I found the controller only activating 1 button even if I had 2 set up on the screen.
[Android General] sir_earl:
Yes - you can verify this by running 'Touch Test' or similar from the market. It might be that the interface was designed such that only one of the on screen buttons can be active at a time. You might want to try doing it with your fingers to see if that's the problem.
[Android General] Isriam:
Can it be made so that you can resize regular buttons like the analog? Id love to make r1 big enough to click a large part of the screen. Thanks
[Android General] sir_earl:
Can you give an example of why you might want to do this? Very few applications that I can think of would actually support variable touch size. Most would simply treat the touch as a point at the centre of the finger (as is the case for the buttons). If you're hoping to trigger several items on screen at once, just add the same button multiple times.
[Android General] Isriam:
In order and chaos I wanted to be able to use r1 as target and put it middle of screen so it would cover the major part of the middle of screen. For some reason my gs2 isnt working with 2 keypresses.
[Android General] sir_earl:
I don't think this is going to be possible. If you can't do it with your fingers (or say, your palm), then it isn't going to work with virtual buttons. Anything that requires you choose between multiple options is unlikely to be configurable with just one button.
[Android General] joelugog:
Hello sir. I was wondering if u were gonna add more futures for Onlive. Since this kinda works with it, I would prefer it then going out and buying a brand new controller.

Send, Finally From Lte Galaxy Nexus
[Android General] ChpStcksRlz:
Just a thought, but Sixaxis controller would be so much cooler if OnLive could be used with it. That'd be so awesome if I could play Saints Row 3 on a phone with full graphics
[Android General] renaissance.man:
Bummer - rooted specifically for this app. Touch profiles do not seem to be working on Asus Transformer Prime TF201 4.0.3 Ice Cream Sandwich with latest sixaxis version. Analog direction pad works fine.

shell@android:/ $ su

su

shell@android:/ # getevent -v 36

getevent -v 36

name: "gpio-keys"

events:

KEY (0001): 0074

name: "tegra-kbc"

events:

KEY (0001): 0072 0073

MSC (0004): 0004

name: "atmel-maxtouch"

events:

KEY (0001): 014a*

ABS (0003): 0000 : value 0, min 0, max 1600, fuzz 0, flat 0, resolution 0

0001 : value 0, min 0, max 1000, fuzz 0, flat 0, resolution 0

0018 : value 0, min 0, max 255, fuzz 0, flat 0, resolution 0

001c : value 0, min 0, max 255, fuzz 0, flat 0, resolution 0

0030 : value 0, min 0, max 255, fuzz 0, flat 0, resolution 0

0035 : value 0, min 0, max 1600, fuzz 0, flat 0, resolution 0

0036 : value 0, min 0, max 1000, fuzz 0, flat 0, resolution 0

0039 : value 0, min 0, max 10, fuzz 0, flat 0, resolution 0

003a : value 0, min 0, max 255, fuzz 0, flat 0, resolution 0

name: "lid_input"

events:

SW (0005): 0000*
[Android General] sir_earl:
I don't think OnLive is supported where I live (not showing in Market), so I'm unable to check it out. Can you give some examples of what is and is not working, and if possible, what would make it work better.
[Android General] sir_earl:
This should be fixed within a week when I release the next update.
[Android General] renaissance.man:
Thanks!! Any update on the Galaxy Nexus?
[Android General] Diamondback:
Nice, same problem here, if you need a TF201 ICS tester, just give me a hint :)