標題:
利用Wii遙控器來實現簡易電子白板的功能
[打印本頁]
作者:
chiming
時間:
2007-10-28 00:13
標題:
利用Wii遙控器來實現簡易電子白板的功能
利用Wii遙控器來實現簡易電子白板的功能
(據呂老師的說法花不到2000大洋)
台北大豐呂宗憲老師介紹的文件下載
ftp://linux400.dfes.tpc.edu.tw/pub/wii+linux.odp
下面是兩段參考影片
http://tw.youtube.com/watch?v=asY_I8y6C0M
http://tw.youtube.com/watch?v=jkX1oQsvNe0
作者:
chiming
時間:
2008-6-6 16:19
標題:
回復 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
歡迎光臨 彰縣自由軟體交流論壇 (http://free.jls.idv.tw/)
Powered by Discuz! 6.0.0