# joystick_code **Repository Path**: tianxiaohuahua/joystick_code ## Basic Information - **Project Name**: joystick_code - **Description**: No description available - **Primary Language**: Unknown - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-03-30 - **Last Updated**: 2024-04-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # README ## 安装测试 实际测试使用的手柄是北通阿修罗2pro 兼容xbox Ubuntu20.04主机 连接手柄或者无线接收器后查看是否已经检测到: ```shell ls /dev/input ``` 找到输入中的 js0 即为手柄输入 需要安装joystick安装包: ```shell sudo apt install joystick ``` 测试手柄的数据输入: ```shell jstest /dev/input/js0 ```