QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 983|回复: 3

有谁在linux下用手柄(usb接口)的?介绍一下怎么安装的

[复制链接]
发表于 2004-3-28 21:13:47 | 显示全部楼层 |阅读模式
谢了
虽说可以用键盘,可手柄放着不能用可惜
发表于 2004-3-29 00:10:54 | 显示全部楼层
/sbin/modprobe joydev

test the joystick by

more /dev/js0

press the button, you will see some rubbish chars, then you joystick is ok
回复

使用道具 举报

发表于 2004-3-29 08:18:10 | 显示全部楼层
需要内核支持,不过一般都是支持的。
二楼的说得没错。
回复

使用道具 举报

 楼主| 发表于 2004-3-29 22:10:44 | 显示全部楼层
一事不烦二主
楼上的知道VisualBoyAdvance怎么设置手柄吗?
# - if XXX < 20, XXX is the axis number multiplied by 2. An even number means
#   movement to the negative side (on the X axis, it means left). An odd
#   number means movement to the positive side (on the X axis, it mean
#   right). For the Y axis, negative means up and positive means down.
#   X axis is usally axis number 0 and Y is axis number 1.
# - if 20 >= XXX > 30, then XXX is the HAT number multiplied by 4 plus the
#   direction: 0 for up, 1 for down, 2 for right and 3 for left. Example:
#   0021 is HAT 0 down, 0026 is HAT 1 right.
# - if 80 >= XXX > 100, XXX is the joystick button number (XXX-080).
配置文件的说明看不懂的说
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-2 22:31 , Processed in 0.034396 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表