You can see the report.pdf for more detailed information!
Use XBOX360 controller to improve control experience of PIONEER, which's a robot in my lab and recently controlled by computers keyboards. Since there're just 4 directions on the keyboard, we can enjoy exquisiter control using XBOX controller. Furthermore, some additional novel functionalities are available with XBOX controller.
- Register a window class.
- Create a WIN32 windows.
- Message controlling & dispatching.
- Get controller's data from XInputGetState().
- Buttons & Combobox(resposible for font-chooser).
- Turn Input format to Output format(Base on ARIA API).
- How to detect "Rotate".
- (Vibration feedback).
####If you want to get whole project, just follow these steps:####
step1
make sure you have some necessary things installed:
- Visual Studio (2010 or later recommended)
- Windows SDK (Please install the latest version)
- You need a XBOX controller (of course :p, or you don't need this project)
- You need to install ARIA
- You need to install MobileSim
step2
enter the following command
git clone https://github.com/brianhuang1019/XBOX_Controller.git XBOX
step3
enter the following command
cd XBOX/XBOX_Controller/C++/SimpleController
step4
open SimpleController_2012.vcxproj then enter "F5" to build.
step5
for more detailed information, see the report.pdf