OpenELEC / OpenELEC.tv

OpenELEC - The living room PC for everyone
http://openelec.tv
1.61k stars 881 forks source link

Some buttons on Sony BD/Playstation remote controle are not mapped #2395

Closed Para-Doxe closed 11 years ago

Para-Doxe commented 11 years ago

On the remote control Sony BD/Playstation, model CECHZR1E, some buttons are mapped and some others are not.

Example of button mapped:

Example of button don't mapped:

And they are no button mapped for the contectual menu.

Edit: Correction of the title ans the message.

jenkins101 commented 11 years ago

Hi,

I guess you use this remote true the CEC Interface?

There is no way to map more buttons in the CEC Interface the buttons that are forwarded are forwarded... you could ask at the libcec github page?

Para-Doxe commented 11 years ago

Sorry, I read it wrong. I confused a '/' with '7'. ^^ I talk about the Sony "BD/Playstation" Remote Control. It's a Bluetooth remote control for PS3. The first version, model CECHZR1E. I pair it in Bluetooth on the version 3.1.0 of openElec.

piotrasd commented 11 years ago

Yes, since OE 3.1.0 i dont see possibility over OE Settings change maped buttons of PS3 Nice will be add some config files or something other, for possibility map all butons and customize

Like was in ps3.remote.addon

PS3 Remote and Controller Keymaps

keymap_remote = { "16": 'power' ,#EJECT "64": 'language' ,#AUDIO "65": None ,#ANGLE "63": 'subtitle' ,#SUBTITLE "0f": 'clear' ,#CLEAR "28": None ,#TIME

"00": 'one'   ,#1
"01": 'two'   ,#2
"02": 'three' ,#3
"03": 'four'  ,#4
"04": 'five'  ,#5
"05": 'six'   ,#6
"06": 'seven' ,#7
"07": 'eight' ,#8
"08": 'nine'  ,#9
"09": 'zero'  ,#0

"81": 'mytv'       ,#RED
"82": 'mymusic'    ,#GREEN
"80": 'mypictures' ,#BLUE
"83": 'myvideo'    ,#YELLOW

"70": 'display'  ,#DISPLAY
"1a": 'home'     ,#TOP MENU
"40": 'menu'     ,#POP UP/MENU
"0e": None       ,#RETURN

"5c": 'guide'   ,#OPTIONS/TRIANGLE
"5d": 'back'    ,#BACK/CIRCLE
"5e": 'info'    ,#X
"5f": 'title'   ,#VIEW/SQUARE

"54": 'up'     ,#UP
"55": 'right'  ,#RIGHT
"56": 'down'   ,#DOWN
"57": 'left'   ,#LEFT
"0b": 'select' ,#ENTER

"5a": 'volumeplus'  ,#L1
"58": 'volumeminus' ,#L2
"51": 'Mute'        ,#L3
"5b": 'pageplus'    ,#R1
"59": 'pageminus'   ,#R2
"52": None          ,#R3

"43": 'home'        ,#PLAYSTATION
"50": None          ,#SELECT
"53": None          ,#START

"33": 'reverse'   ,#<-SCAN
"34": 'forward'   ,#  SCAN->
"30": 'skipminus' ,#PREV
"31": 'skipplus'  ,#NEXT
"60": None        ,#<-SLOW/STEP
"61": None        ,#  SLOW/STEP->
"32": 'play'      ,#PLAY
"38": 'stop'      ,#STOP
"39": 'pause'     ,#PAUSE
}

and there we can change anything what we want, now this is not possible :( We can now just easy pair BT devices (this is great) over new OE Settings but nothing more :(

piotrasd commented 11 years ago

@sraue could you help us ?? http://www.openelec.tv/forum/104-bluetooth-remotes/65100-new-bluetooth-settings

For me ps3.remote.addon was great. we could map all butoons - just we need edit one file "keymaps.py" work sleep/idle of remote for keep batteries longer live (i dont saw this in new addon)

the only thing that was missing - info about replace batteries (i know this is possible, and im used this with bdremote-ng on ubuntu)

Summarising, good will be improve new addon about new function

piotrasd commented 11 years ago

@sraue thanks for latest changes !!!! we are very grateful this for sure resolve problems with maping buttons

Do you think could you add battery status ? i find source code - patch for bluez Please look on this http://code.google.com/p/bdremote-ng/source/detail?r=97

Big Thanks

piotrasd commented 11 years ago

@sraue I dont want open new ticket, but since 3.1.1 something is broken with connection PS3 remote with reciver there is almost impossible to pair remote, or event if we pair, remote drop connection every few sec :( something is broken :( :( :(

still is open topic on forum http://www.openelec.tv/forum/104-bluetooth-remotes/65100-new-bluetooth-settings

many users raport this same issue

sraue commented 11 years ago

@piotrasd you should open a new ticket - new issue = new ticket :-)

piotrasd commented 11 years ago

ok, about issue of map button now is hard test because is almost impossible to use remote, so please leave open

2ami commented 11 years ago

@sraue please don't forget PS3 Sixaxis, i couln't pair it with 3.1, why can't we use keymap file (ex: joystick.SONY.PLAYSTATION3.xml) like before, it's pretty easy to mod

Para-Doxe commented 11 years ago

Tested with OpenElec 3.1.1: It's work.

Thanks for this work. ;)