Recent Live convert could do with some help...ps3remote
#1
Hi,

Be gentle - recently come over from the darkside (dsplayer)....

Setup:

Acer Revo 3600

xbmcfreak-1000-maverick-v3 installed and up and running sweet as a nut!

PS3 remote installed and paired
(sudo apt-get purge bluez
sudo echo deb http://ppa.launchpad.net/kitlaan/ppa/ubuntu maverick main >> /etc/apt/sources.list
sudo echo deb-src http://ppa.launchpad.net/kitlaan/ppa/ubuntu maverick main >> /etc/apt/sources.list
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6F7177CC
sudo apt-get update)

Problem:

Some of the ps3 remote buttons are working (I can list if it helps), but for the life of my I cant get the rest mapped....

I've overwritten the input.conf,

# Configuration file for the input service

# This section contains options which are not specific to any
# particular interface
[General]

# Set idle timeout (in seconds) before the connection will
# be disconnect (defaults to 0 for no timeout)
#IdleTimeout=600



# This section contains options that are specific to a device
[00:1E:3D:1C:Big Grin:CF]
#
# Set a custom idle timeout (in seconds) for this specific device
IdleTimeout=30



# This section is the PS3 Remote keymap. It is loaded when bluez starts.
# Use 'uinput.h' from bluez sources or '/usr/include/linux/input.h' for
# a list of possible KEY_* values.
#
[PS3 Remote Map]
# When the 'OverlayBuiltin' option is TRUE (the default), the keymap uses
# the built-in keymap as a starting point. When FALSE, an empty keymap is
# the starting point.
OverlayBuiltin = TRUE (i've tried FALSE too)
0x16 = KEY_EJECTCD # EJECT
0x64 = KEY_AUDIO # AUDIO (XBMC recommendation: KEY_A)
0x65 = KEY_ANGLE # ANGLE (XBMC recommendation: KEY_Z)
0x63 = KEY_SUBTITLE # SUBTITLE (XBMC recommendation: KEY_T)
0x0f = KEY_CLEAR # CLEAR (XBMC recommendation: KEY_DELETE)
0x28 = KEY_TIME # TIMER (XBMC recommendation: KEY_END)
0x00 = KEY_1 # NUM-1
0x01 = KEY_2 # NUM-2
0x02 = KEY_3 # NUM-3
0x03 = KEY_4 # NUM-4
0x04 = KEY_5 # NUM-5
0x05 = KEY_6 # NUM-6
0x06 = KEY_7 # NUM-7
0x07 = KEY_8 # NUM-8
0x08 = KEY_9 # NUM-9
0x09 = KEY_0 # NUM-0
0x81 = KEY_RED # RED (XBMC recommendation: KEY_F7)
0x82 = KEY_GREEN # GREEN (XBMC recommendation: KEY_F8)
0x80 = KEY_BLUE # BLUE (XBMC recommendation: KEY_F9)
0x83 = KEY_YELLOW # YELLOW (XBMC recommendation: KEY_F10)
0x70 = KEY_INFO # DISPLAY (XBMC recommendation: KEY_I)
0x1a = KEY_MENU # TOP MENU
0x40 = KEY_CONTEXT_MENU # POP UP/MENU (XBMC recommendation: KEY_F11)
0x0e = KEY_ESC # RETURN
0x5c = KEY_OPTION # TRIANGLE/OPTIONS (XBMC recommendation: KEY_C)
0x5d = KEY_BACK # CIRCLE/BACK
0x5f = KEY_SCREEN # SQUARE/VIEW (XBMC recommendation: KEY_V)
0x5e = BTN_0 # CROSS (XBMC recommendation: KEY_X)
0x54 = KEY_UP # UP
0x56 = KEY_DOWN # DOWN
0x57 = KEY_LEFT # LEFT
0x55 = KEY_RIGHT # RIGHT
0x0b = KEY_ENTER # ENTER
0x5a = BTN_TL # L1 (XBMC recommendation: KEY_F1)
0x58 = BTN_TL2 # L2 (XBMC recommendation: KEY_F2)
0x51 = BTN_THUMBL # L3 (XBMC recommendation: KEY_F3)
0x5b = BTN_TR # R1 (XBMC recommendation: KEY_F4)
0x59 = BTN_TR2 # R2 (XBMC recommendation: KEY_F5)
0x52 = BTN_THUMBR # R3 (XBMC recommendation: KEY_F6)
0x43 = KEY_HOMEPAGE # PS button
0x50 = KEY_SELECT # SELECT (XBMC recommendation: KEY_INSERT)
0x53 = BTN_START # START (XBMC recommendation: KEY_HOME)
0x33 = KEY_REWIND # SCAN BACK (XBMC recommendation: KEY_R)
0x32 = KEY_PLAY # PLAY
0x34 = KEY_FORWARD # SCAN FORWARD (XBMC recommendation: KEY_F)
0x30 = KEY_PREVIOUS # PREVIOUS (XBMC recommendationL KEY_PAGEUP)
0x38 = KEY_STOP # STOP
0x31 = KEY_NEXT # NEXT (XBMC recommendation: KEY_PAGEDOWN)
0x60 = KEY_FRAMEBACK # SLOW/STEP BACK (XBMC recommendation: KEY_COMMA)
0x39 = KEY_PAUSE # PAUSE
0x61 = KEY_FRAMEFORWARD # SLOW/STEP FORWARD (XBMC recommendation: KEY_DOT)
0xff = KEY_MAX


But these changes have no effect.....what have I missed?

Any help will stop my going bald!!!!...so please...Eek

K
LG OLED55BX6LB, Zidoo Z1000 Pro (ZDMC 20.2 Arctic Zephyr 2 Resurrection), Yamaha RX-A3060, Polk Signature Fronts & Centre, Wharfedale D300 Atmos surrounds, Heco Victa Prime Sub 252A, DSPeaker Antimode 8033 Cinema
Reply
#2
C'mon...anyone?...only got a few hairs left now....

K
LG OLED55BX6LB, Zidoo Z1000 Pro (ZDMC 20.2 Arctic Zephyr 2 Resurrection), Yamaha RX-A3060, Polk Signature Fronts & Centre, Wharfedale D300 Atmos surrounds, Heco Victa Prime Sub 252A, DSPeaker Antimode 8033 Cinema
Reply
#3
you need to remap the buttons on your remote. If you look at the input.conf file you posted, you'll see the parenthetical notes e.g. (XBMC recommendation: KEY_F7). What that's saying is that the current keymap:
Code:
0x81 = KEY_RED            # RED
is set for "KEY_RED". So the IR hex code of 0x81 is assigned the value of "KEY_RED", which is the red button on the PS3 remote. XBMC has no idea what "KEY_RED" means, so it does nothing. You need to assign code 0x81 (in this instance) a value that XBMC would understand, say KEY_F7 (the F7 key on your keyboard) which then corresponds to an action within XBMC. So the changed part of input.conf would be:
Code:
0x81 = KEY_F7            #RED Button               (XBMC recommendation: KEY_F7)
If you look at the "XBMC recommendation" notes, those are keyboard/button presses that XBMC would recognize.

You can go with the recommendations or with something else that's a valid command. That part's up to you. You can also assign different XBMC commands to valid keyboard/button presses within keymap.xml. You can give F7 a function that you want there.

In essence input.conf maps buttons to keypresses and keymap.xml maps keypresses to XBMC actions. You can go with the defaults or configure it to however you want. You just need to edit the files to match XBMC's expectations and action list.
Reply
#4
pumkinut Wrote:you need to remap the buttons on your remote. If you look at the input.conf file you posted, you'll see the parenthetical notes e.g. (XBMC recommendation: KEY_F7). What that's saying is that the current keymap:
Code:
0x81 = KEY_RED            # RED
is set for "KEY_RED". So the IR hex code of 0x81 is assigned the value of "KEY_RED", which is the red button on the PS3 remote. XBMC has no idea what "KEY_RED" means, so it does nothing. You need to assign code 0x81 (in this instance) a value that XBMC would understand, say KEY_F7 (the F7 key on your keyboard) which then corresponds to an action within XBMC. So the changed part of input.conf would be:
Code:
0x81 = KEY_F7            #RED Button               (XBMC recommendation: KEY_F7)
If you look at the "XBMC recommendation" notes, those are keyboard/button presses that XBMC would recognize.

You can go with the recommendations or with something else that's a valid command. That part's up to you. You can also assign different XBMC commands to valid keyboard/button presses within keymap.xml. You can give F7 a function that you want there.

In essence input.conf maps buttons to keypresses and keymap.xml maps keypresses to XBMC actions. You can go with the defaults or configure it to however you want. You just need to edit the files to match XBMC's expectations and action list.

Thanks very much for taking the time to answer....just so to make sure I understand you, do even need to ref the red button at all? if it simply acts as a cross reference from the code to the xbmc key function, so like this :

0x81 = KEY_F7 ?



K
LG OLED55BX6LB, Zidoo Z1000 Pro (ZDMC 20.2 Arctic Zephyr 2 Resurrection), Yamaha RX-A3060, Polk Signature Fronts & Centre, Wharfedale D300 Atmos surrounds, Heco Victa Prime Sub 252A, DSPeaker Antimode 8033 Cinema
Reply
#5
Yes, there's no need to reference the red button at all. The hash mark "#" means that everything following it is a comment. It's more for you keeping track of what button does what function.
Reply
#6
pumkinut Wrote:Yes, there's no need to reference the red button at all. The hash mark "#" means that everything following it is a comment. It's more for you keeping track of what button does what function.

Once again - thanks....now got it all complete and working as sweet as a nut. Just wish I had taken the plunge to Live sooner!

K
LG OLED55BX6LB, Zidoo Z1000 Pro (ZDMC 20.2 Arctic Zephyr 2 Resurrection), Yamaha RX-A3060, Polk Signature Fronts & Centre, Wharfedale D300 Atmos surrounds, Heco Victa Prime Sub 252A, DSPeaker Antimode 8033 Cinema
Reply

Logout Mark Read Team Forum Stats Members Help
Recent Live convert could do with some help...ps3remote0