由 neio » 週日 3月 29, 2009 12:26 am
小弟設定上第3是右鍵,
LIRC 設定檔如下
----lircmd.conf---------------------------------
PROTOCOL IMPS/2
ACCELERATOR 2 120 10
MOVE_N * key_up
MOVE_W * key_left
MOVE_S * key_down
MOVE_E * key_right
BUTTON1_CLICK * key_left_down
BUTTON3_CLICK * key_right_down
--------------------------------------------------
----xorg.conf----------------------------------
Section "InputDevice"
Identifier "LIRC-Mouse"
Driver "mouse"
Option "Device" "/dev/lircm"
Option "Protocol" "IMPS/2"
Option "SendCoreEvents"
Option "Buttons" "2"
Option "ZAxisMapping" "4 5"
EndSection
......
......
......
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "LIRC-Mouse"
Option "AIGLX" "true"
EndSection
--------------------------------------------------