This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
misc:hacks:rasberrypi [2013-06-10 01:09] absoloodle37 More clarifying edits |
misc:hacks:rasberrypi [2013-08-13 03:54] absoloodle37 Identified xbox controller input and corresponding id's in .json file |
||
---|---|---|---|
Line 83: | Line 83: | ||
</ | </ | ||
- | **Note**: | + | ===== Manually Customizing Your .json Configuration File ===== |
+ | If you created a customized .json file for your xbox controller using a Windows PC and the cfclient GUI and are planning to copy it over to your Raspberry Pi, here is some advice: | ||
-save the new .json file as something different than the default, so you can recognize it easily. | -save the new .json file as something different than the default, so you can recognize it easily. | ||
Line 89: | Line 90: | ||
-the new .json file is not located in the Program Files(x64)/ | -the new .json file is not located in the Program Files(x64)/ | ||
- | -copy your new .json file into the correct RPi folder: / | + | -copy your new .json file into the correct RPi folder: / |
- | -the cfheadless client on RPi may not recognize the same controller channel " | + | <code>sudo apt-get install netatalk< |
+ | Verify netatalk was installed successfully on your RPi by checking the Finder window on your Mac for a " | ||
+ | |||
+ | -the cfheadless client on RPi may not recognize the same controller channel " | ||
+ | |||
+ | Xbox Controller Input = id# | ||
+ | |||
+ | Left stick vertical = 1 | ||
+ | |||
+ | Left stick horizontal = 0 | ||
+ | |||
+ | Right stick vertical = 3 | ||
+ | |||
+ | Right stick horizontal = 2 | ||
+ | |||
+ | Right trigger = 4 | ||
+ | |||
+ | Customize your flying configuration anyway you like using the inputs/ | ||
**Note**: If you have more than one controller attached, you can select the one to use using the commandline parameter '' | **Note**: If you have more than one controller attached, you can select the one to use using the commandline parameter '' | ||
Line 124: | Line 142: | ||
[[http:// | [[http:// | ||
- | * Still dependent on QT (the plan is to remove this very soon) | + | * <del>Still dependent on QT (the plan is to remove this very soon)</ |
- | * Not much error handling yet (the plan is to improve this) | + | * <del>Not much error handling yet (the plan is to improve this)</ |
* < | * < | ||
* < | * < | ||
- | * No good way to quit it yet so you will have to kill the process | + | * <del>No good way to quit it yet so you will have to kill the process</ |
===== Make the client startup automatically on Crazyradio plug in ===== | ===== Make the client startup automatically on Crazyradio plug in ===== | ||