• 1
  • 4
  • 5
  • 6(current)
  • 7
  • 8
XBOX 360 Media Remote on XBMCbuntu
#76
Still another question....

In Lircmap.xml, I have

Code:
<eject>KEY_EJECT</eject>
<star>KEY_NUMERIC_STAR</star>

...and in Keyboard.xml
Code:
<star>EjectTray()</star>
<eject>EjectTray()</eject>

However, only if I press "star" on the remote, the DVD tray opens, not if I press the "eject" key on the remote.

How come Huh
Reply
#77
(2013-11-09, 21:05)David.P Wrote: Still another question....

In Lircmap.xml, I have

Code:
<eject>KEY_EJECT</eject>
<star>KEY_NUMERIC_STAR</star>

...and in Keyboard.xml
Code:
<star>EjectTray()</star>
<eject>EjectTray()</eject>

However, only if I press "star" on the remote, the DVD tray opens, not if I press the "eject" key on the remote.

How come Huh

I would have thought you would have a grasp on this by now. Big Grin

http://forum.xbmc.org/showthread.php?tid...pid1463783

3 files

/etc/lirc/lircd.conf
/home/xbmc-user-name/.xbmc/userdata/lircmap.xml
/home/xbmc-user-name/.xbmc/userdata/keymaps/remote.xml


lircd.conf
OpenClose (or whatever the name of your eject button is)

Lircmap.xml
<star>OpenClose</star> (or whatever the name of your eject button is. See above)

Remote.xml
<star>EjectTray()</star>
Reply
#78
Pardon....

Problem is, the "eject" key on the remote DID work (ummm, at least I think so) -- but has stopped working since I tried to re-map the "star" key away from the "eject" XBMC function, of all things.

HuhBlush
Reply
#79
(2013-11-09, 22:39)David.P Wrote: Pardon....

Problem is, the "eject" key on the remote DID work (ummm, at least I think so) -- but has stopped working since I tried to re-map the "star" key away from the "eject" XBMC function, of all things.

HuhBlush

You made up an XBMC name. There is no XMBC name called eject that I am aware of.
Reply
#80
(2013-11-09, 20:21)bs0d Wrote: I don't intend to hijack the thread, but aren't the XBOX remotes IR? So for any of these to work, you must have an IR receiver plugged into your HTPC?

If not, how does the machine receive the signal? and If so- what IR receiver do you use that is cheap? I was going to use my PS3 remote, but with FishOil's script, it may be a lot easier to get it working.

**also- isn't that a stop button next to pause (left), both under the xbox button?


Thats a record button.

Use any IR remote you want.

http://forum.xbmc.org/showthread.php?tid=170372
Reply
#81
FishOil, I have xbmc installed on an older Sony Vaio PC... so wouldn't I need an IR receiver?
Reply
#82
(2013-11-09, 23:23)bs0d Wrote: FishOil, I have xbmc installed on an older Sony Vaio PC... so wouldn't I need an IR receiver?

If it has a builtin IR receiver that works with linux you are good to go.
Reply
#83
(2013-11-09, 22:51)FishOil Wrote: You made up an XBMC name. There is no XMBC name called eject that I am aware of.

Ahh, is that true? Blush

However, there are a few hits on Google though.

Anyway, probably, I should try

Code:
<star>KEY_EJECT</star>

first instead.

BTW, my XBMC remote (the large white one) does have a Stop button.
Reply
#84
(2013-11-09, 23:25)David.P Wrote:
(2013-11-09, 22:51)FishOil Wrote: You made up an XBMC name. There is no XMBC name called eject that I am aware of.

Ahh, is that true? Blush

However, there are a few hits on Google though.

Anyway, probably, I should try

Code:
<star>KEY_EJECT</star>

first instead.

BTW, my XBMC remote (the large white one) does have a Stop button.

Right
So now this is what it should look like.

lircd.conf
KEY_EJECT (the name of your eject button)

Lircmap.xml
<star>KEY_EJECT</star>

Remote.xml
<star>EjectTray()</star>
Reply
#85
Thanks!
Reply
#86
Blush *bump*

(2013-11-09, 19:43)David.P Wrote: one more question regarding Keyboard.xml (formerly Keymap.xml).

I have a wireless keyboard (RF not Bluetooth) which works perfectly with Openelec/XBMC.

When I press the key "e" on the keyboard, I get the EPG window in XBMC which is great.

However, there is no such thing as

Code:
<e>EPG (or something)</e>

... in the keyboard.xml file. The entire file does contain lots of things like <s> (shutdown), <p> (pause), <x> (stop/exit), <m> (menu) and so on, but not a single occurrence of <e> or <E> or </e> or </E>.

Thus, how does XBMC know that it is supposed to show the EPG window when I press "e" on the keyboard?

I'm asking because I'd like to also assign a key on the remote to the same EPG command that "e" on the keyboard obviously is assigned to.

This is what my Keyboard.xml file looks like:
Image
Huh
Reply
#87
I dont use a keyboard with XBMC so my experience is limited. However, I dont have a Keyboard.xml in my user directory but the default user (Root?) has one.
/usr/share/xbmc/system/keymaps/

e is mapped to
Code:
<e>XBMC.ActivateWindowAndFocus(MyPVR, 31,0, 10,0)</e>
Reply
#88
argh... Eek

Now I have tried this:

Lircmap.xml:
Code:
<closesquarebracket>KEY_NUMERIC_STAR</closesquarebracket>
and
Keyboard.xml:
Code:
<closesquarebracket>EjectTray()</closesquarebracket>

"closesquarebracket" is a XBMC button according to the list.

But if I press the "Star" key on the remote, nothing happens.


Before, it was like this:

Lircmap.xml:
Code:
<star>KEY_NUMERIC_STAR</star>
and
Keyboard.xml:
Code:
<star>EjectTray()</star>

...and worked.

Key remapping kills me Tongue

(2013-11-10, 18:47)FishOil Wrote: the default user (Root?) has one.
/usr/share/xbmc/system/keymaps/

e is mapped to
Code:
<e>XBMC.ActivateWindowAndFocus(MyPVR, 31,0, 10,0)</e>

OK thanks!

Viewed over SMB in Windows, the folder

Code:
\\openelec\XBMC\system

is empty Huh

What would be the best way to browse my Openelec/XBMC installation using command line (via Putty.exe)? Is there something like a "DOS" file browser contained in Linux? Blush
Reply
#89
(2013-11-10, 18:49)David.P Wrote: Now I have tried this:

Lircmap.xml:
Code:
<closesquarebracket>KEY_NUMERIC_STAR</closesquarebracket>
and
Keyboard.xml:
Code:
<closesquarebracket>EjectTray()</closesquarebracket>

"closesquarebracket" is a XBMC button according to the list.

But if I press the "Star" key on the remote, nothing happens.


Before, it was like this:

Lircmap.xml:
Code:
<star>KEY_NUMERIC_STAR</star>
and
Keyboard.xml:
Code:
<star>EjectTray()</star>

...and worked.

Key remapping kills me Tongue

(2013-11-10, 18:47)FishOil Wrote: the default user (Root?) has one.
/usr/share/xbmc/system/keymaps/

e is mapped to
Code:
<e>XBMC.ActivateWindowAndFocus(MyPVR, 31,0, 10,0)</e>

OK thanks!

Viewed over SMB in Windows, the folder

Code:
\\openelec\XBMC\system

is empty Huh

What would be the best way to browse my Openelec/XBMC installation using command line (via Putty.exe)? Is there something like a "DOS" file browser contained in Linux? Blush


Rolleyes

If it worked then let it be.

I have NEVER seen <closesquarebracket> as a remote key in XBMC. Its a case of another made up name.
You are mixing keyboard and remote configurations.

And the directory you are in is not the right one.
Not to sound harsh but you are lacking some basic linux skills / information.

You really are getting off track. I can help much any more. Sorry. Angel

Take a deep breath and think about what needs to be done. Re read some of the previous posts. Blush
Reply
#90
(2013-11-10, 19:30)FishOil Wrote: Not to sound harsh but you are lacking some basic linux skills / information.

OK I understand. Probably you're right

(2013-11-10, 19:30)FishOil Wrote: I have NEVER seen <closesquarebracket> as a remote key in XBMC. Its a case of another made up name.

Only one last question regarding this. Is there a list of all proper remote keys in XBMC?
(because obviously I got it wrong with this list that contained "closesquarebracket")
Reply
  • 1
  • 4
  • 5
  • 6(current)
  • 7
  • 8

Logout Mark Read Team Forum Stats Members Help
XBOX 360 Media Remote on XBMCbuntu3