回復 undefined 的帖子
						
						
																											1.安裝相關程式
apt-get install libcwiid0 wminput
2.插上藍芽接收裝置
驅動藍芽裝置
#/etc/init.d/bluetooth start
檢查是否抓到藍芽裝置
#hcitool dev
Devices:
        hci0        00:0B:0D:4C:AD:87
(有出現裝置hci0 )
#modprobe uinput
3.啟用WII操作程式,有二種模式:
陀螺儀加速模式(如影片一的模式)
#wminput -c acc_ptr -w
紅外線參考點模式(如影片二的模式)
#wminput -c ir_ptr -w
指令下完,會進入偵測等待狀態,請按下WII遙控器的 1 + 2 按鍵。
4.WII遙控器按鈕對應設定修改
修改/etc/cwiid/wminput/buttons
Wiimote.A        = BTN_LEFT
Wiimote.B        = BTN_RIGHT
Wiimote.Up        = KEY_UP
Wiimote.Down        = KEY_DOWN
Wiimote.Left        = KEY_LEFT
Wiimote.Right        = KEY_RIGHT
Wiimote.Minus        = KEY_BACK
Wiimote.Plus    = KEY_FORWARD
Wiimote.Home        = KEY_HOME
Wiimote.1        = KEY_PROG1
Wiimote.2        = KEY_PROG2