% % custom anyremote cfg for basic mythtv use % uses xautomation % AutoRepeat=false % Uncomment if needed %Baudrate=19200 Device=bluetooth:10 Log=true Debug=true RetrySecs=5 Screen=true [Aliases] % Cancel buttons on different phones -11=Cancel -8=Cancel 69=Cancel % redefine joystick keys UP=2 DOWN=8 LEFT=4 RIGHT=6 FIRE=5 [End] [Keys] (Init)=Exec(echo 'P=`which xte|grep xte|grep -v not|wc -l`; KD=`which kdialog|grep kdialog|grep -v not|wc -l`;if [ "x$KD" == "x1" ]; then M="kdialog --msgbox"; else M="xmessage"; fi; if [ "x$P" == "x1" ]; then true; else $M "ERROR: xautomation package is not installed"; fi'|bash -f -s); (Connect)=Set(icons,MythTV,1,no,2,up,3,default,4,previous,5,ok,6,next,7,pause,8,down,9,fileclose,*,minus,0,apply,#,plus);Set(skin,default,keypad_only); Cancel=Exit * *=Set(text,replace,Help,1 - Left Click\n2 - CenterClick\n3 - RightClick\n4 - Move Left\n5 - Move Up\n6 - Move Right\n7 - WheelUp\n8 - Move Down\n** - Help\n0 - Space\n# - Left DblClick) Back=Set(text,close); 1=Exec(xte 'key Escape') 2=Exec(xte 'key Up') 3=Set(vibrate) 4=Exec(xte 'key Left') 5=Exec(xte 'key Return') 6=Exec(xte 'key Right') 7=Exec(xte 'key p') 8=Exec(xte 'key Down') 9=Exec(xte 'key 9') *=Exec(xte 'key [') 0=Exec(xte 'key 0') #=Exec(xte 'key ]') [End]