Use your android phones as a Joystick/Wheel/Pedal

General discussion of the Project Reality: BF2 modification.
Post Reply
AlonTavor
PR:BF2 Developer
Posts: 2991
Joined: 2009-08-10 18:58

Use your android phones as a Joystick/Wheel/Pedal

Post 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.
Last edited by AlonTavor on 2014-12-14 19:19, edited 2 times in total.
IWI-GALIL.556FA
Posts: 511
Joined: 2013-03-25 20:51

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

Post by IWI-GALIL.556FA »

dude that's badass!!! :)

And now, we wait.....
PCR
Posts: 41
Joined: 2014-10-14 12:56

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

Post by PCR »

looks fake :confused:
PCR
Posts: 41
Joined: 2014-10-14 12:56

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

Post by PCR »

and do we need something like that :confused:
Nate.
Forum Moderator
Posts: 3018
Joined: 2012-07-09 20:44

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

Post by Nate. »

It's not fake, try it out.
Image
PCR
Posts: 41
Joined: 2014-10-14 12:56

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

Post by PCR »

how?
I dont have a android mobile phone
PatrickLA_CA
Posts: 2243
Joined: 2009-07-14 09:31

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

Post by PatrickLA_CA »

this looks awesome, I'll be trying it out tonight and will write feedback
In-game: Cobra-PR
AlonTavor
PR:BF2 Developer
Posts: 2991
Joined: 2009-08-10 18:58

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

Post 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.
PatrickLA_CA
Posts: 2243
Joined: 2009-07-14 09:31

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

Post 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?
Last edited by PatrickLA_CA on 2014-12-14 19:55, edited 2 times in total.
In-game: Cobra-PR
AlonTavor
PR:BF2 Developer
Posts: 2991
Joined: 2009-08-10 18:58

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

Post 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.
Last edited by AlonTavor on 2014-12-14 20:51, edited 3 times in total.
PatrickLA_CA
Posts: 2243
Joined: 2009-07-14 09:31

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

Post 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 :)
In-game: Cobra-PR
AlonTavor
PR:BF2 Developer
Posts: 2991
Joined: 2009-08-10 18:58

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

Post 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.
PatrickLA_CA
Posts: 2243
Joined: 2009-07-14 09:31

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

Post 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.
In-game: Cobra-PR
AlonTavor
PR:BF2 Developer
Posts: 2991
Joined: 2009-08-10 18:58

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

Post 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.
Cassius
Posts: 3958
Joined: 2008-04-14 17:37

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

Post 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.
|TG|cap_Kilgore
Image
jakethompson92
Posts: 3
Joined: 2014-12-22 21:43

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

Post by jakethompson92 »

You win one internet
LITOralis.nMd
Retired PR Developer
Posts: 5658
Joined: 2010-04-10 16:15

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

Post 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
Last edited by LITOralis.nMd on 2014-12-24 00:51, edited 2 times in total.
LITOralis.nMd
Retired PR Developer
Posts: 5658
Joined: 2010-04-10 16:15

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

Post 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.
LITOralis.nMd
Retired PR Developer
Posts: 5658
Joined: 2010-04-10 16:15

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

Post 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.
Last edited by LITOralis.nMd on 2014-12-24 02:13, edited 1 time in total.
PatrickLA_CA
Posts: 2243
Joined: 2009-07-14 09:31

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

Post by PatrickLA_CA »

Yeah the next thing you need to is fix the controls in PR, did you get it working?
In-game: Cobra-PR
Post Reply

Return to “PR:BF2 General Discussion”