NOTE: THIS IS A PRE-RELEASE BETA VERSION - YOU MAY RUN INTO ISSUES
Hey everyone! I’m John, the third-party developer of In-Flight Assistant (app to bring IF realism to the next level), In-Flight Operations (flight report generator app), and In-Flight Instruments.
One of the most requested features for IF is to connect a joystick, unfortunately iOS only supports Bluetooth devices but joysticks tend to be USB only.
This is a Raspberry Pi program that will connect to a running IF instance and let you use your joystick (and throttle, and pedals, etc.!) with IF. This means you can purchase a low-cost Raspberry Pi box that will serve as an adapter for IF and your joysticks, RPi boxes are so small, you’ll still be able to keep IF nice and portable and won’t need to run this through a PC or Mac!
Here are the steps in short ( for a more detailed writeup for a “headless” Pi - i.e. without a monitor - see this super helpful post by @PeterT : IFJoystickPi - connect your joystick devices to IF using a Raspberry Pi! (Free Beta) )
- Have a USB joystick and plug it into your Pi.
- Install Raspbian on your Pi (make sure to pick a build that includes java).
sudo apt-get install joystickin a terminal on your Pi.
- Download IFJoystickPi from the link above and unzip it.
java -jar IFJoystickPI-1.0-Snapshot.jarin the directory you unzipped to start it.
- You should be able to connect to the IFJoystickPi web page to see its status at http://raspberrypi.local:7000 (don’t need to click this, this is a URL that will only work on your local network) - you should also be able to calibrate a hat switch if you have one.
- Go into your IF control settings and map axes and joystick buttons to whatever you want - they should (in theory) Just Work!
I’ve had lots of things requiring my attention lately, so most IF things (including IF-A and IF-O) have had to take the back burner for a while, but this is something I had already done back in September and which - at least for Laura and myself - seems to work great (just tested it again today). So I wanted to go ahead and put it out there, now that the new update is out which supports the new API.
So as usual, HUGE thanks to @Laura for the amazing IF API.
If you’d like to help this project, you could
- post any issues you find in this thread
- post a more detailed step-by-step guide for Raspberry Pi newbs - which component to buy, a link to how to install Raspbian, etc.
Anyways, hope this works for you all!