Page 1 of 1

Use your android phones as a Joystick/Wheel/Pedal

Posted: 2014-12-14 15:07
by AlonTavor
EDIT: I fucked up and mixed up the versions, redownload the file from the link and update the APK on your phone if you downloaded it before this edit. (You should have 8 buttons without one with an "unused" text on it )

Reposting this from the PRtournament forums. I'm sorry if its too offtopic, it is usable in PR, but I wasn't sure if it should go here.

I have programmed a software that lets you use your Android's accelerometer sensor as a windows controller. Here are some examples I recorded:

in PR: Flight stick


F1:2014, wheel and pedal




If you're interested, download it here and follow the readme. https://dl.dropboxusercontent.com/u/124 ... ystick.rar. If you run into problems, please do give me some feedback.

Re: Use your android phones as a Joystick/Wheel/Pedal

Posted: 2014-12-14 15:35
by IWI-GALIL.556FA
dude that's badass!!! :)

Re: Use your android phones as a Joystick/Wheel/Pedal

Posted: 2014-12-14 17:58
by PCR
looks fake :confused:

Re: Use your android phones as a Joystick/Wheel/Pedal

Posted: 2014-12-14 18:01
by PCR
and do we need something like that :confused:

Re: Use your android phones as a Joystick/Wheel/Pedal

Posted: 2014-12-14 18:19
by Nate.
It's not fake, try it out.

Re: Use your android phones as a Joystick/Wheel/Pedal

Posted: 2014-12-14 18:27
by PCR
how?
I dont have a android mobile phone

Re: Use your android phones as a Joystick/Wheel/Pedal

Posted: 2014-12-14 18:28
by PatrickLA_CA
this looks awesome, I'll be trying it out tonight and will write feedback

Re: Use your android phones as a Joystick/Wheel/Pedal

Posted: 2014-12-14 18:50
by AlonTavor
PCR wrote:looks fake :confused:
I'm insulted. Really.
PatrickLA_CA wrote:this looks awesome, I'll be trying it out tonight and will write feedback
Thanks, I know the UI isn't too understandable but it should be enough with the readme.

Re: Use your android phones as a Joystick/Wheel/Pedal

Posted: 2014-12-14 19:35
by PatrickLA_CA
Pff, who gives a **** about the UI, the important thing is to work. btw my Xperia S is really slow and I'm removing some useless **** before I install this, will post feedback within an hour if everything works out.


Okay, so, so far I've:

-Installed vjoy;
-Installed the .apk;
-Started the "AndroidJoystick.exe" as administrator;
-Turned ON tracking on the mobile app;
-Typed in the local IP of my PC in the phone app (both phone and PC are connected in same network);

But nothing happens, should I change something in controls?

Re: Use your android phones as a Joystick/Wheel/Pedal

Posted: 2014-12-14 20:28
by AlonTavor
PatrickLA_CA wrote:Pff, who gives a **** about the UI, the important thing is to work. btw my Xperia S is really slow and I'm removing some useless **** before I install this, will post feedback within an hour if everything works out.


Okay, so, so far I've:

-Installed vjoy;
-Installed the .apk;
-Started the "AndroidJoystick.exe" as administrator;
-Turned ON tracking on the mobile app;
-Typed in the local IP of my PC in the phone app (both phone and PC are connected in same network);

But nothing happens, should I change something in controls?
Yea. Do you see the graphs? You have to bind it to specific controls (Droplist with the X,Y,Z,RX,RY,RZ that defaults to OFF) and click apply. or click load and use my flight preset.
Also administrator should not be a problem and isn't required.

use "monitor vjoy" to see if it works. (Or just the windows control panel "set up USB game controllers" thing).

Put a screenshot if it still doesn't work.

Edit: Oh right, I forgot to mention, If you downloaded before i edited the main post, download again. I forgot to export the android version and hosted the old one. If you have "unused" as the 8th button on android, then you need to update.

Re: Use your android phones as a Joystick/Wheel/Pedal

Posted: 2014-12-14 20:54
by PatrickLA_CA
Used your profile, still nothing...

Image

EDIT: Just noticed that it does recognize it and it shows movement when I move the phone on the Windows USB Game controllers, but not in game.

EDIT 2: How dumb of me, I forgot about the game controls, it works now, I'm gonna test it in action :)

Re: Use your android phones as a Joystick/Wheel/Pedal

Posted: 2014-12-14 20:58
by AlonTavor
PatrickLA_CA wrote: EDIT 2: How dumb of me, I forgot about the game controls, it works now, I'm gonna test it in action :)
lol. Make sure to play with the deadzones/sensitivty. its important to make sure you can achieve 100% X and 100% Y simultaneously and having low sensitivity on the center. The preset values worked for me but i didn't spend much time on them.

Re: Use your android phones as a Joystick/Wheel/Pedal

Posted: 2014-12-14 21:04
by PatrickLA_CA
lol it's pretty fun, except that the controls are inverted, I guess clicking on Inverse should set them right. Would take some time to get used to lol. That + freetracknoir = new PR experience.

Re: Use your android phones as a Joystick/Wheel/Pedal

Posted: 2014-12-14 21:36
by AlonTavor
PatrickLA_CA wrote:lol it's pretty fun, except that the controls are inverted, I guess clicking on Inverse should set them right. Would take some time to get used to lol. That + freetracknoir = new PR experience.
Pretty sure that on BF2 it binds the + and - according to how you moved it. But inverse will work too.

Re: Use your android phones as a Joystick/Wheel/Pedal

Posted: 2014-12-17 23:28
by Cassius
That is some awesome. I guess even a cheap joystick would be easier to use but you never know, somone might get better results with this thing.

Re: Use your android phones as a Joystick/Wheel/Pedal

Posted: 2014-12-23 21:13
by jakethompson92
You win one internet

Re: Use your android phones as a Joystick/Wheel/Pedal

Posted: 2014-12-23 23:59
by LITOralis.nMd
my idea:
1 cheap camera monopod stick and base: https://www.youtube.com/watch?v=sO3FSYL_hgU



1 cheap cellphone tripod mount case with the mount point at a neutral location : find on Ebay or similar:
Apple iPhone 5S 5c 5 4 Video Camera Recording Tripod Adapter w 1 4 20 Connection | eBay

Re: Use your android phones as a Joystick/Wheel/Pedal

Posted: 2014-12-24 00:50
by LITOralis.nMd
IS this two or three axis?
X and Y obviously, but does it do any rotation?

Trying to dig out my old monopod, about to buy a fluid ball bearing monopod base and cell phone tripod mount on Ebay to test this. Can and will reuse those for photography anyway.

Re: Use your android phones as a Joystick/Wheel/Pedal

Posted: 2014-12-24 01:55
by LITOralis.nMd
I've never used a joystick in BF2, I got this far using exact same settings as Patrick:

Image

I guess next step is sorting out the keybinds in PR?

EDIT: Doesn't fix the problem between joystick and seat. I still can't pilot worth a darn.

Re: Use your android phones as a Joystick/Wheel/Pedal

Posted: 2014-12-24 14:26
by PatrickLA_CA
Yeah the next thing you need to is fix the controls in PR, did you get it working?