[mythtv-users] Sony BD bluetooth remote and changing key mappings

Richard Morton richard.e.morton at gmail.com
Sat May 29 08:20:21 UTC 2010


How about simply changing the keybindings within one or both applications so
the one inpuit.conf works in both?

On 29 May 2010 08:29, "Jason Chambers" <lists at purplish-monkey.com> wrote:

On 29/05/2010 07:19, Nick Rout wrote:
> I have a Sony PS3 Blu-ray style remote that I have set up vi...
<snip>


> Can anyone tell me how to dynamically switch input.conf, or otherwise
> deal with this problem? F...
Restarting bluetoothd does the trick.  Granted stopping & restarting
daemons my seem a bit OTT, but its a quick process so it shouldn't
introduce a noticeable delay.

There is also the option to use LIRC with the devinput[1] driver, which
takes is input directly from /dev/input/eventX allowing you to use any
keyboard/mouse as an LIRC input.  This means you can then just configure
LIRC to have different mappings for Myth vs XMBC

However the problem I found with this method is that the
/dev/input/eventX only gets created when the PS3 remote connects for the
first time after a reboot, meaning you can't start LIRC until you've
pressed a button on the remote (otherwise LIRC just exits as it cannot
find the device).

I assume its possible to do some jiggery-pokery with udev to reserve the
device so it appear before it actually pairs.  Or write some script that
waits until /dev/input/eventX exists,  before LIRC is started.

But as I didn't need to control two different programs I didn't see any
advantage in using LIRC in my situation, so I just changed to using the
/etc/bluetooth/input.conf method instead.

[1] http://www.lirc.org/html/devinput.html

Regards,
Jason



_______________________________________________
mythtv-users mailing list
mythtv-users at mythtv.org
...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20100529/c38b8db0/attachment.htm>


More information about the mythtv-users mailing list