Kodi Community Forum
cheap usb remote from dealextreme - Printable Version

+- Kodi Community Forum (http://forum.kodi.tv)
+-- Forum: Support (/forumdisplay.php?fid=33)
+--- Forum: General Support (/forumdisplay.php?fid=111)
+---- Forum: Linux and Live support (/forumdisplay.php?fid=52)
+---- Thread: cheap usb remote from dealextreme (/showthread.php?tid=45738)

Pages: 1 2 3

cheap usb remote from dealextreme - chene - 2009-02-19 23:17

hi all,

was wondering if anyone has experience with the MCE remote available from Dealextreme, sku number 14380? It is only USD$11. If so, can you please comment its functionality with regard to xbmc and its mouse function?

while I love my wiiremote, I found it too draining on the battery. I do use rechargeable battery, though.

thanks in advance,

- BLKMGK - 2009-02-19 23:32

here this will make it easier for folks... -> http://www.dealextreme.com/details.dx/sku.14380

- chene - 2009-02-22 22:16

thanks for posting the link. I wasn't too sure if live link to a retail website was allowed in this form (as it wasn't in most).

any help is very much appreciated,

- bob_loblaw - 2009-04-24 14:13

I just got one of these remotes today and many of the functions work out-of-the-box (particularly the arrows and enter keys). I've taught my learning remote a number of the codes and it's fine. I've come from an Xbox remote on an Xbox and haven't yet replicated all the functions (the play/pause/stop buttons don't seem to work out-of-the-box!) but it's very early days.

I've tried setting a keymap up for it using the <keyboard> tags but not having much luck. Any suggestions on figuring out what button does what for XBMC purposes?

- NeoX - 2009-04-24 15:28

This works out of the box. But it's not your typical lirc remote. This is a remote that sends "keyboard" signals to the box. Basically if you don't need lirc to use this. I would not recommend this remote if you planning on configuring/customizing etc. If u don't want to customize and used what it has then definitely go for it else buy a proper remote.

- fasteddy - 2009-04-24 15:40

I've been using this remote for some time. Just about everything worked out of the box on Intrepid, but when I downgraded to Hardy due to the multithreaded video decoding issue, Stop and Play buttons no longer worked properly. Something to be aware of.
Also, if you hit any of the A B C or D keys at the top of the remote, it'll drop you to the console (TTY1 - 4). While that rarely happens to me, last night I dropped the remote in the middle of a movie and ended up having to reset the machine as a result (I'm considering physically deactivating those buttons on the remote).
Aside from that, I have mapped some of the extra buttons to some scripts, context menu, etc. I'll try and post my Keymap.xml when I get home tonight.

- fasteddy - 2009-04-25 03:02

Here's the relevant portion of my Keymap.xml (under global keyboard):

<!-- Desktop --> <key id = "61508">XBMC.RunScript(/home/htpc/.xbmc/scripts/TWC Supplemental/default.py)</key>
<!-- My PC --> <key id = "61509">XBMC.RunScript(/home/htpc/.xbmc/scripts/XBMC Lyrics/default.py)</key>
<!-- Power --> <key id = "61555">XBMC.Quit</key>
<!-- Folder Icon --> <key id = "65442">ContextMenu</key>

- Loto_Bak - 2009-04-25 05:12

I just recently got this remote+ir reciever.

I would not recommend it.
The reciever is detected as a HID keyboard and mouse. LIRC cannot decode any IR from this device.
It also does NOT support key repeat except for on the volume control. This is annoying when scrolling lists (you cannot hold the button)

If anyone has had success with another cheap USB ir reciever that is supported well by lirc please share!

If you already have it, this is how to use it


The above guide says to use lirc with no config but ignore that and configure the /dev/input mode

After that is complete you should be able to run irw and get output such as this
0000000000040004 00 ARROW_UP Cyp_Se_WitheHome
0000000000040004 00 ARROW_DOWN Cyp_Se_WitheHome
0000000000040004 00 ARROW_LEFT Cyp_Se_WitheHome
0000000000040004 00 ARROW_RIGHT Cyp_Se_WitheHome

Then use the mappings in lircmap.xml and use 'ARROW_UP' etc to map to XBMC commands

There are maximum 39 remote codes on the OEM reciever.

Once configured in the above guide the remote will no longer push keys as a keyboard would in the console. This is nice so it doesnt conflict.

Any problems with configing it lemme know ill try and help.

As a side note I've have had great success with dealextreme's tiny bluetooth paired with a PS3 remote. Very slick and VERY VERY responsive!

- bob_loblaw - 2009-04-25 09:57

fasteddy Wrote:Here's the relevant portion of my Keymap.xml (under global keyboard):
That's really useful, thanks. I'm using a Windows install though, do you have the IDs from the play/pause/etc buttons as I can't get them to work...

I can't speak for a Linux install, but if the machine is solely a HTPC like mine is, it doesn't really matter if it's emulating keypresses or is actually sending IR codes as long as it does the job. For a multipurpose machine it might not be a good purchase.

- ERamseth - 2009-04-25 20:12

BLKMGK Wrote:here this will make it easier for folks... -> http://www.dealextreme.com/details.dx/sku.14380

Thanks for the tip. I had been looking for a good remote (wireless keyboard and mouse from gyration is feeling a little clunky these days...) and this seems to fit the bill for less than 30-40 dollars i was seeing everywhere else.

- gavo - 2009-05-02 23:59

anyone geting this working on xbmc for xbox

- Zeppstar - 2009-05-03 01:28

Many people talk about the Microsfot MCE remote which have recently been discontinued. Its a 'work out of the box remote' for xbmc(with lirc). Another reasonably cheap remote which pretty much is a 'working' clone of this remote is the Hauppauge Media Centre Remote Control Kit. I can confirm this remote works exactly like the MS version and its about $10-$15 cheaper. Those HID remotes are not worth the trouble IMHO.

- pko66 - 2009-08-18 00:30

Loto_Bak Wrote:I just recently got this remote+ir reciever.

I would not recommend it.
The reciever is detected as a HID keyboard and mouse. LIRC cannot decode any IR from this device.
It also does NOT support key repeat except for on the volume control. This is annoying when scrolling lists (you cannot hold the button)


The one I received from dealextreme works differently. All keys (or most) autorepeat, and the codes are different. I've done what it says at that ubuntuforums.org link (not exactly like that but I get similar results, I could explain if someone needs it)

Mostly works although the problem is that some keys do not map as a "single key" but as a combination, for example pressing "close" gives TWO keys, KEY_LEFTALT and KEY_F4 (something like pressing Alt-F4 in a real keyboard, only that lirc receives both two distinct keys). Or "rewind", produces 4 keys: LEFTSHIFT, LEFTCONTROL, LEFT and B. If lirc receives a "KEY_LEFT" signal, there is no way to determine if the user has pressed "left" or "rewind" (if pressed "rewind" it will ALSO receive "KEY_LEFTCTRL", "KEY_LEFTSHIFT" and "KEY_B", but I believe XBMC/lirc architecture does not allow to differenciate)

All that makes impossible to uniquely identify 6 keys, and 2 other keys (power and numlock) plus the simulated "mouse" never reach LIRC. The result is still pretty good, since there are still 29 different functions, and since there is a really cheap device (less than 7€ including P&P to anywhere in Europe) and the receiver is not very intrusive, I think is not a bad option. Also, you can use other programmable remotes simply by cloning the signals from this one.

The usable keys as seen running irw in a console are:
first two rows:
[power unusable in lirc]
KEY_F4 [D]


The two "mouse buttons":

next two rows:


the two "up/down" and "full screen":



the next 4 rows (the fifth one later):




The last row. If you press "num lock", the signal never reaches lirc, but changes the function of other keys... so do not press it :-D
[num lock unusable in lirc]

[D] means the function appears also when pressing another button but it is usable (simply that button is a duplicate of another one)
[R] means the function appear also when pressing another button but cannot be easily used as a duplicate.

This is my current Lircmap.xml (to be copied to ~/.xbmc/userdata o to be appended to /usr/share/xbmc/system/Lircmap.xml), there are still 5 keys I haven't decided how to program (see picture):

<remote device="devinput">

The duplicates are 2 keys for "menu", 3 for "power" and 2 for "left/right". The two "unused" ones will be duplicates of two of the currently undefined (or be left with no function)

[Image: dibujoont.jpg]

- Anastrophe - 2009-08-20 19:25

It would be great if you could explain what you did differently to the unbuntuforums link.


- Anastrophe - 2009-08-20 19:30

....out if interest, if it works as a keyboard and mouse (as mine does), why not just remap the keys to work with xbmc and not use lirc? That way the repeat etc works.