akennedy;509352 Wrote: 
> KidsPlay (with the kidsplayexec) would do exactly what I am looking for.

OK, good to hear. I hope to find time to add this to KidsPlay over the
weekend.

> The end goal for me is to use a remote to control XBMC (XBox Media
> Center) So i'll just have to find a way to hook into the XOrg input
> controls.
> 

These look promising:
* sending X11 keystrokes:
http://www.doctort.org/adam/nerd-notes/x11-fake-keypress-event.html
* sending LIRC IR/button codes: http://japiblog.dddgames.com/?p=12

I like the LIRC idea a lot, especially since I have an SB3 sitting
right next to a StreamZap USB IR receiver that I use as a LIRC receiver
for MythTV (and mplayer). Along those lines, the following is probably a
better solution than X11 since XBMC is designed to be used with LIRC:
http://sourceforge.net/projects/slim-plugins/files/LIRC/LIRC%20V1.0/ --
except, considering that plugin's age (over 4 years old!), it almost
certainly needs significant work to run in SC 7.3 / SBS 7.4.

Ooh, actually there might be a significant problem with KidsPlay here.
KidsPlay's main goal was to make an IR remote usable by my young child.
One of its deliberate features (with IR codes, not Boom/Receiver
physical buttons) is to ignore repeated button presses to some extent,
to make the IR remote less frustrating. You probably want something more
like the typical LIRC usage. E.G. if you hold the Volume Down button,
you probably want XBMC to see Volume Down button events over and over. I
don't remember how I coded that "ignoring" logic. It might be that I can
easily expose that as a configurable variable and you could just tweak
the config so it's responsive enough.

Also along those lines, you'd probably get better responsiveness from
something like a dedicated LIRC plugin that uses 100% Perl logic to send
UDP messages to a LIRC daemon than having something like KidsPlay spawn
a full process for each button press.


-- 
peterw

http://www.tux.org/~peterw/
Free plugins:  'AllQuiet'
(http://www.tux.org/~peterw/slim/AllQuiet.html) 'Auto Dim/AutoDisplay'
(http://www.tux.org/~peterw/slim/AutoDisplay.html) 'BlankSaver'
(http://www.tux.org/~peterw/slim/BlankSaver.html) 'ContextMenu'
(http://www.tux.org/~peterw/slim/ContextMenu.html) 'DenonSerial'
(http://www.tux.org/~peterw/slim/DenonSerial.html)
'FuzzyTime' (http://www.tux.org/~peterw/slim/FuzzyTime.html) 'KidsPlay'
(http://www.tux.org/~peterw/slim/KidsPlay.html) 'KitchenTimer'
(http://www.tux.org/~peterw/slim/KitchenTimer.html) 'PlayLog'
(http://www.tux.org/~peterw/slim/PlayLog.html)
'PowerCenter/BottleRocket'
(http://www.tux.org/~peterw/slim/PowerCenter.html) 'SaverSwitcher'
(http://www.tux.org/~peterw/slim/SaverSwitcher.html)
'SettingsManager'
(http://www.tux.org/~peterw/slim/SettingsManager.html) 'SleepFade'
(http://www.tux.org/~peterw/slim/SleepFade.html) 'StatusFirst'
(http://www.tux.org/~peterw/slim/StatusFirst.html) 'SyncOptions'
(http://www.tux.org/~peterw/slim/SyncOptions.html) 'VolumeLock'
(http://www.tux.org/~peterw/slim/VolumeLock.html)
------------------------------------------------------------------------
peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107
View this thread: http://forums.slimdevices.com/showthread.php?t=74071

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to