XBox 360 Universal Remote

Does anyone know how to get this remote to work with OSMC.?

I’ve got an RC6 remote working but would love to use this one…

I’m pretty sure it’s just another RC6 remote

I have an RC6 remote that works with my current setup… This remote doesn’t work, It’s definitely sending out a signal as i’ve programed my TV code into it and it’s controlling my TV/AVR.

Is that a Microsoft remote or some aftermarket?
You can always learn it

The RC6 remote I have is an aftermarket one… The one I’m trying to use is a Microsoft one…

How do I learn it.?

http://forum.osmc.tv/showthread.php?tid=5549 Step 3 Change any path etc with “pi” in it to “osmc”

Once you have created the .conf file go to MyOSMC remote module and browse to it

I think you’ll find that it’s very close to the RC6 supplied, maybe some differences in the remote signal definition area. These remotes are the same as the MCE remote, they just have the remote ID changed so they can co exist with a MCE PC in the same room.

There is a button sequence on the remote that will change the remote ID, can’t remember what it is though.

Sorry I may not have been clear. My thoughts are all that will be different are the remote header, you can learn just a few buttons and then compare to the existing RC6 conf file, if button codes are the same but headers have changed then you can use the existing button codes rather than learning all the buttons

Thanks Dilligaf,

Although that tutorial is a bit beyond my skill set…

It’s really not hard if you can ssh.
If you could capture a few keys I would like to have a look at it and try to figure it out

Try this,copy/paste it into a text file named Xbox360-lircd.conf save it to somewhere on your Pi then browse to it in the remote module and select it

# this config file was automatically generated
# using lirc-0.8.0-CVS(mceusb2) on Tue Jan 17 15:14:11 2006
#
# contributed by Kyle at shadowmage.org
#
# brand: Microsoft
# model no. of remote control: Xbox 360 Universal Media Remote
# devices being controlled by this remote: Xbox 360
#
# This probably works for the normal Xbox 360 remote too.
#
# TV button sends no signal and toggles Xbox 360/TV mode. TV mode can be
# signals for any device the remote supports. Volume Up, Volume Down and
# Mute always use the TV mode while the Xbox live guide button always sends
# to the xbox.

begin remote

  name  Microsoft_Xbox360
  bits           16
  flags RC6|CONST_LENGTH
  eps            30
  aeps          100

  header       2676   870
  one           454   429
  zero          454   429
  pre_data_bits   21
  pre_data       0x37FF0
  gap          106291
  min_repeat      1
  toggle_bit_mask 0x8000

  rc6_mask    0x100000000

      begin codes
          KEY_OPEN                 0x8BD7                    #  Was: OpenClose
          XboxFancyButton          0x0B9B
          KEY_POWER                0x8BF3                    #  Was: OnOff
          KEY_STOP                 0x0BE6                    #  Was: Stop
          KEY_PAUSE                0x8BE7                    #  Was: Pause
          KEY_REWIND               0x0BEA                    #  Was: Rewind
          KEY_FASTFORWARD          0x8BEB                    #  Was: FastForward
          KEY_PREVIOUS             0x0BE4                    #  Was: Prev
          KEY_NEXT                 0x8BE5                    #  Was: Next
          KEY_PLAY                 0x0BE9                    #  Was: Play
          Display                  0x8BB0
          KEY_TITLE                0x0BAE                    #  Was: Title
          KEY_MENU                 0x8BDB                    #  Was: DVD_Menu
          KEY_BACK                 0x0BDC                    #  Was: Back
          KEY_INFO                 0x8BF0                    #  Was: Info
          UpArrow                  0x0BE1
          LeftArrow                0x8BDF
          RightArrow               0x0BDE
          DownArrow                0x8BE0
          KEY_OK                   0x0BDD                    #  Was: OK
          KEY_Y                    0x8BD9                    #  Was: Y
          KEY_X                    0x0B97                    #  Was: X
          KEY_A                    0x8B99                    #  Was: A
          KEY_B                    0x0BDA                    #  Was: B
          KEY_CHANNELUP            0x8BED                    #  Was: ChUp
          KEY_CHANNELDOWN          0x0BEC                    #  Was: ChDown

          KEY_VOLUMEDOWN           0x0BEE                    #  Was: VolDown
          KEY_VOLUMEUP             0x0BEF                    #  Was: VolUp
          KEY_MUTE                 0x0BF1                    #  Was: Mute

          KEY_PLAY                 0x0BF2                    #  Was: Start
          KEY_PLAY                 0x8BE9                    #  Was: Play
          KEY_ENTER                0x0BF4                    #  Was: Enter
          KEY_RECORD               0x8BE8                    #  Was: Record
          KEY_CLEAR                0x0BF5                    #  Was: Clear
          KEY_1                    0x8BFE                    #  Was: 1
          KEY_2                    0x0BFD                    #  Was: 2
          KEY_3                    0x8BFC                    #  Was: 3
          KEY_4                    0x0BFB                    #  Was: 4
          KEY_5                    0x8BFA                    #  Was: 5
          KEY_6                    0x0BF9                    #  Was: 6
          KEY_7                    0x8BF8                    #  Was: 7
          KEY_8                    0x0BF7                    #  Was: 8
          KEY_9                    0x8BF6                    #  Was: 9
          KEY_0                    0x0BE2                    #  Was: 100
          KEY_0                    0x8BFF                    #  Was: 0
          Reload                   0x8BE3
      end codes

end remote

That didn’t work but i had a google around and found this one that did work :o) :


# Please make this file available to others
# by sending it to <lirc@bartelmus.de>
#
# this config file was automatically generated
# using lirc-0.9.0-pre1(default) on Fri Feb 22 12:48:57 2013
#
# contributed by 
#
# brand:                       /home/pi/lircd.conf.conf
# model no. of remote control: 
# devices being controlled by this remote:
#

begin remote

  name  /home/pi/lircd.conf.conf
  bits           13
  flags RC6|CONST_LENGTH
  eps            30
  aeps          100

  header       2706   847
  one           475   411
  zero          475   411
  pre_data_bits   24
  pre_data       0x1BFF80
  gap          107073
  min_repeat      2
#  suppress_repeat 2
#  uncomment to suppress unwanted repeats
  toggle_bit_mask 0x8000
  rc6_mask    0x100000000

      begin codes
          KEY_POWER                0x0BF3
          KEY_HOME                 0x0B9B
          KEY_YELLOW               0x0BD9
          KEY_BLUE                 0x0B97
          KEY_GREEN                0x0B99
          KEY_RED                  0x0BDA
          KEY_REWIND               0x0BEA
          KEY_PLAYPAUSE            0x0BE7
          KEY_FASTFORWARD          0x0BEB
          KEY_BACK                 0x0BE4
          KEY_MENU                 0x0BDB
          KEY_NEXT                 0x0BE5
          KEY_STOP                 0x0BE8
          KEY_INFO                 0x0BF0
          KEY_UP                   0x0BE1
          KEY_LEFT                 0x0BDF
          KEY_RIGHT                0x0BDE
          KEY_OK                   0x0BDD
          KEY_DOWN                 0x0BE0
          KEY_BACK                 0x0BDC
      end codes

end remote


Do you know if it’s possible to cut/past from your one into the 2nd one to make a more comprehensive file with more of the buttons covered.?

The codes look the same to me.?

OK, so that file you posted works the 360, correct?

now copy/paste this to the top of the file overwriting what’s there[code]
bits 13
flags RC6|CONST_LENGTH
eps 30
aeps 100

header 2674 870
one 455 427
zero 455 427
pre_data_bits 24
pre_data 0x1BFF82
gap 106288
min_repeat 1
toggle_bit_mask 0x8000
rc6_mask 0x100000000
[/code]

This should now (hopefully) work with a MCE remote, if it does edit the file and change pre_data 0x1BFF82
to this pre_data 0x1BFF80

If all goes as expected the 360 remote should now work.

I think the pre_data is the key, let me know what happens

I use that remote for all 4 of my installs. I don’t know where I originally found the lirc.conf but I have pasted my current working one here. All of the buttons have function including the Xbox button at the top for the context menu. I have been playing around with the remote for the Xbox One as well so you will see code at the bottom for that. I never did clean any of the file so it looks a mess but at least it gives credit to whom ever I got it from.

# /etc/lirc/lircd.conf.rpi
#
# Lirc config for lirc_rpi (GPIO) receiver.
# Enables use of MCE Remote, Apple MacMini and XBOX remote.
# Should work with any generic receiver 
#
# contributed by jenkins101
#
########
#
# brand:                        HP/Philips/Microsoft/Other
# model no. of remote control:  Media Center Edition remote
# devices being controlled by this remote: myriad of devices with Media Center Edition receivers
#
# RC-6 config file
#
# source: http://home.hccnet.nl/m.majoor/projects_remote_control.htm
#         http://home.hccnet.nl/m.majoor/pronto.pdf
#
# used by: Philips
#
#########
#
# Philips Media Center Edition remote control
# For use with the USB MCE ir receiver
#
# Dan Conti  dconti|acm.wwu.edu
#
# Updated with codes for MCE 2005 Remote additional buttons
# *, #, Teletext, Red, Green, Yellow & Blue Buttons
# Note: TV power button transmits no code until programmed.
# Updated 12th September 2005
# Graham Auld - mce|graham.auld.me.uk
#
# Radio, Print, RecTV are only available on the HP Media Center remote control
#
#
# Updated with codes for MCE 2007 Remote additional buttons
# Visualization, Aspect, SlideShow, Eject
# Note: 
# Blue, Yellow, Green, Red, and Teletext buttons do not exist on some HP remote

# Please make this file available to others
# by sending it to <lirc@bartelmus.de>
#
# this config file was automatically generated
# using lirc-0.9.0-pre1(default) on Sat Feb 23 12:47:57 2013
#
# contributed by DynaMight
#
# brand: Xbox 360 remote 
# model no. of remote control:
# devices being controlled by this remote:
#

begin remote
 
  name  Xbox 360 Remote
  bits           13
  flags RC6|CONST_LENGTH
  eps            30
  aeps          100

  header       2685   886
  one           457   433
  zero          457   433
  pre_data_bits   24
  pre_data       0x1BFF80
  gap          107197
  min_repeat      4
  suppress_repeat 99
#  uncomment to suppress unwanted repeats
  toggle_bit_mask 0x8000
  rc6_mask    0x100000000
 
  begin codes
      KEY_STOP                 0x0BE6
      KEY_PLAY                 0x0BE9
      KEY_VOLUMEDOWN           0x0BEE
      KEY_VOLUMEUP             0x0BEF
      KEY_MUTE                 0x0BF1
      KEY_0                    0x0BFF
      KEY_1                    0x0BFE
      KEY_2                    0x0BFD
      KEY_3                    0x0BFC
      KEY_4                    0x0BFB
      KEY_5                    0x0BFA
      KEY_6                    0x0BF9
      KEY_7                    0x0BF8
      KEY_8                    0x0BF7
      KEY_9                    0x0BF6
      KEY_MENU                 0x0BDB
      KEY_YELLOW               0x0BD9
      KEY_BLUE                 0x0B97
      KEY_GREEN                0x0B99
      KEY_RED                  0x0BDA
      KEY_REWIND               0x0BEA
      KEY_PLAYPAUSE            0x0BE9
      KEY_FASTFORWARD          0x0BEB
      KEY_EXIT                 0x0BDC
      KEY_TITLE                0x0B9B
      KEY_STOP                 0x0BE6
      KEY_INFO                 0x0BF0
      KEY_UP                   0x0BE1
      KEY_DOWN                 0x0BE0
      KEY_LEFT                 0x0BDF
      KEY_RIGHT                0x0BDE
      KEY_OK                   0x0BDD
      KEY_CONTEXT_MENU         0x0BF3
      KEY_PAGEUP               0x0B93
      KEY_PAGEDOWN             0x0B92
      KEY_ENTER                0x0BF4
      KEY_STOP                 0x0BE8
      KEY_CLEAR                0x0BF5
      KEY_NEXTSONG             0x0BE5
      KEY_PREVIOUSSONG         0x0BE4
      KEY_DISPLAYTOGGLE        0x0BB0
      KEY_PAUSE                0x037FF00BE7
  end codes

end remote

# Please make this file available to others by sending it to <lirc@bartelmus.de>
#
# this config file was automatically generated using lirc-0.9.0(default) on Wed Mar 26 17:55:18 
# 2014
#
# contributed by FishOil
#
# brand: XBOX-ONE model no. of remote control: XBOX ONE Media Remote devices being controlled by 
# this remote: XBMC XBOX ONE
#
begin remote
  name XBOX-ONE
   bits 16
  flags SPACE_ENC|CONST_LENGTH
  eps 30
  aeps 100
  header 9061 4460
  one 596 1662
  zero 596 527
  ptrail 582
  repeat 9032 2232
  pre_data_bits 16
  pre_data 0x11B
  gap 107260
  toggle_bit_mask 0x0
      begin codes
      KEY_MENU         0x26D9
      KEY_TITLE        0x7689
      KEY_MENU         0xF609
      KEY_UP           0x7887
      KEY_DOWN         0xF807
      KEY_LEFT         0x04FB
      KEY_RIGHT        0x847B
      KEY_OK           0x44BB
      KEY_BACK         0xC43B
      KEY_INFO         0x649B
      KEY_VOLUMEUP     0x08F7
      KEY_VOLUMEDOWN   0x8877
      KEY_MUTE         0x708F
      KEY_PAGEUP       0x48B7
      KEY_PAGEDOWN     0xC837
      KEY_REWIND       0xA857
      KEY_FASTFORWARD  0x28D7
      KEY_PLAY         0x0EF1
      KEY_PREVIOUS     0xD827
      KEY_NEXT         0x58A7
      KEY_STOP         0x9867
  end codes
end remote
1 Like

That’s awesome… Thanks Jace

Works like a charm.!!! Context menu and everything

:o)

Glad I could help!

Forgot to mention the record button on the remote has been mapped to stop. Disp at the bottom does nothing but I think it’s a TV button.

1 Like

I just got a V4K+
I also have an old X360 remote which is listed as being compatible in the My OSMC >Remotes

I “select” that remote to use but it does not operate my V4K+

Sadly, I can’t access the config file area fom my laptop.