Logitech/Saitek Flight Yoke System joystick interface (C++, Simulink), using DirectX API (DirectInput and Direct Output).
이 제출물을 팔로우합니다
- 팔로우하는 게시물 피드에서 업데이트를 확인할 수 있습니다
- 정보 수신 기본 설정에 따라 이메일을 받을 수 있습니다
FlightYokeSystem
Logitech/Saitek Flight Yoke System joystick interface (C++, Simulink), using DirectX API (DirectInput and Direct Output). This requires DirectX. Developed on the basis of the samples shown in https://github.com/walbourn/directx-sdk-samples/tree/main/DirectInput/Joystick.
Make sure you have installed DirectX SDK https://www.microsoft.com/en-us/download/details.aspx?id=6812. This SDK providess the necessary headers like dinput.h and libraries like dinput8.lib, dxguid.lib.
Necessary files to be in your folder (where your .slx present, or the referenced path):
- YokeSystem.h the header file
- YokeSystem.cpp the function definition file: this file
- Your .cpp impelementation file (put it in Source Files)
HOW TO COMPILE IN VISUAL STUDIO
Include the YokeSystem.h in the header files (project tree) and in your folder.
When something goes wrong, you can manually set everything in the project properties.
- In the C/C++ -> General -> Additional Include Directories, add the "Include" folder of the DirectX SDK. (Find the folder in your DirectX SDK installation directory).
- In the Linker -> General -> Additional Library Directories, add the "Lib/x64" (if win64) of the DirectX SDK (find it in your DirectX SDK installation directory).
- In the Linker -> Input -> Additional Dependencies, write dinput8.lib; dxguid.lib, add.
HOW TO COMPILE (FOR MATLAB SIMULINK)
- You need C++ compiler available in your system.
- Be sure to set the compiler appropriately for C++, use "mex -setup" and choose accordingly.
- Compile in Matlab with "mex YokeSystem_SFun.cpp".
- This gives you a mexw64 file (Matlab executable file) in the folder.
Open the Simulink file YokeSystem.slx and see more. You can read more detailed information in each of the files here.
인용 양식
Dimas Rachman (2026). FlightYokeSystem (https://github.com/dimasmr/FlightYokeSystem), GitHub. 검색 날짜: .
일반 정보
- 버전 1.0.0 (47.1 KB)
-
GitHub에서 라이선스 보기
MATLAB 릴리스 호환 정보
- R2019b 이상 릴리스와 호환
플랫폼 호환성
- Windows
- macOS
- Linux
GitHub 디폴트 브랜치를 사용하는 버전은 다운로드할 수 없음
| 버전 | 퍼블리시됨 | 릴리스 정보 | Action |
|---|---|---|---|
| 1.0.0 |
