Using PS3 Controller as Plex Remote

Was looking for a remote for my Linux Plex Client. If you're interested in setting this up, here you go!

 

I'm using a Ubuntu variant, Lubuntu. Your mileage may vary...

 

When you run sixad, be sure to note the Controller ID: Connected 'PLAYSTATION(R)3 Controller (04:98:F3:F0:FB:40)'

 

Install and configure QtSixA (youtube): http://www.youtube.com/watch?v=C2yKiMxisM0

 

 

You may want to start sixad at boot:

sudo sixad start boot-yes

Profiles define keymaps and controller options. They are read every time the controller is connected and are stored here: 

 /var/lib/sixad/profiles/[Controller ID]

and stores as a file name matching the Controller ID like xx:xx:xx:xx:xx

 

 

Now we need create a profile (I stole the one I'm using from here.) Now open your terminal and type: 

sudo nano /var/lib/sixad/profiles/xx:xx:xx:xx:xx

(make sure to replace xx:xx:xx:xx:xx with your Controller ID) 

 

 

Then copy the text below and paste it into nano (via right-click > Paste).
# Input - "PLEX", by "wellspokenman"
# taken from http://forum.xbmc.org/showthread.php?tid=137085

Features (input is what lets you use keyboard presses, joystick for axis/js recognition)

enable_leds 1
enable_joystick 1
enable_input 1
enable_rumble 0
enable_timeout 1

LED

led_n_auto 1
led_n_number 1
led_anim 1

Joystick (notice that only the joystick axis is enabled - then prevents double keying for apps that recognise the js automatically)

enable_buttons 0
enable_sbuttons 0
enable_axis 1
enable_accel 0
enable_accon 0
enable_speed 0
enable_pos 0

Input - “XBMC-Keyboard”, by “Wellspokenman”

O - CPU Usage

key_select 24

Q - Queue

key_l2 16

W - Stop

key_r2 17

TAB - Fullscreen

key_start 15

UP

key_up 103

RIGHT

key_right 106

DOWN

key_down 108

LEFT

key_left 105

F4 - Load state (zsnes, mednafen, mupen64)

key_l3 62

F2 - Save state (zsnes, mednafen, mupen64)

key_r3 60

Pageup

key_l1 104

Pagedown

key_r1 109

C - Context Menu

key_tri 46

Backspace - back

key_cir 14

I - Info

key_squ 23

Enter - Select

key_cro 28

Esc - Previous menu

key_ps 1
axis_left_type 0
axis_left_up 0
axis_left_right 0
axis_left_down 0
axis_left_left 0
axis_right_type 0
axis_right_up 0
axis_right_right 0
axis_right_down 0
axis_right_left 0
axis_speed 6
use_lr3 0

Rumble

old_rumble_mode 0

Timeout

timeout_mins 5

Now save and connect your controller, via PS3 button. Open up your Plex client and check it out.

 

Enjoy.

 

Awesome, thanks.  I actually used my PS3 controller on XBMC and the respose is lightning fast.