PDA

View Full Version : Tiny Little PacMan Screensaver



Craig, James (IT)
2004-08-18, 09:17
OK, but I kind of don't understand the difference between the two forms

[common]
0.hold = modefunction_PLUGIN.QuickUpdate->numberScroll_0

And the other is
[SCREENSAVER.tinylittlepacman]
arrow_left = left

Say you just wanted to put in a new, generic command for holding numbers
down:
[common]
0.hold = numberHold_0

If you wanted to pick this up in a plugin you'd look for it in the
callback command you register?
It's not enough to just put something in the function hash?
(unless you point directly to the function as in the first example)
Have I answered my own question?

James

-----Original Message-----
From: discuss-bounces (AT) lists (DOT) slimdevices.com
[mailto:discuss-bounces (AT) lists (DOT) slimdevices.com] On Behalf Of Sean Adams
Sent: 18 August 2004 16:20
To: Slim Devices Discussion
Subject: [slim] Tiny Little PacMan Screensaver


It appears what he's doing is just making it so that press&hold sends
many discrete key presses while in pacman, instead of single
press/hold/release events.

This makes perfect sense for a game, since the repeat timing originates
in the remote - you don't want to override it because then you get bad
responsiveness from the controls.


On Aug 18, 2004, at 8:08 AM, Craig, James (IT) wrote:

> I'd like to understand this a little better as well.
> Using Felix's 'QuickAccess' module requires the addition of lines like
> this:
>
> 0 = dead
> 0.single = numberScroll_0
> 0.hold = modefunction_PLUGIN.QuickUpdate->numberScroll_0
>
> to custom.map. It's not too clear how/why this works!
> Can this be done a little more generically to detect/differentiate
> keys held down etc?
>
> James
>
> -----Original Message-----
> From: discuss-bounces (AT) lists (DOT) slimdevices.com
> [mailto:discuss-bounces (AT) lists (DOT) slimdevices.com] On Behalf Of dean
> blackketter
> Sent: 18 August 2004 15:08
> To: Slim Devices Discussion
> Subject: [slim] Tiny Little PacMan Screensaver
>
> Indeed.
>
> Felix: How can we make it easier to install so that folks don't need
> to modify their custom IR maps?
>
> On Aug 18, 2004, at 2:42 AM, Craig, James (IT) wrote:
>
>> Wow!
>>
>> -----Original Message-----
>> From: discuss-bounces (AT) lists (DOT) slimdevices.com
>> [mailto:discuss-bounces (AT) lists (DOT) slimdevices.com] On Behalf Of Felix
>> Mueller
>> Sent: 18 August 2004 08:45
>> To: discuss (AT) lists (DOT) slimdevices.com
>> Subject: [slim] Tiny Little PacMan Screensaver
>>
>> Hi all
>>
>> Just finished my newest plugin. A playable pacman screensaver. You'll

>> find it here:
>>
>> http://www.gwendesign.com/slimserver/development.htm#tinylittlepacman
>>
>> Have fun
>> Felix
>>
>> P.S. Sorry, only for SqueezeboxG and SoftSqueeze
>>
>>
>>
>> __________________________________
>> Do you Yahoo!?
>> New and Improved Yahoo! Mail - Send 10MB messages!
>> http://promotions.yahoo.com/new_mail
>>

kdf
2004-08-18, 09:53
look in your slimserver help section, technical information, button mapping.
-kdf

Quoting "Craig, James (IT)" <James.Craig (AT) morganstanley (DOT) com>:

> OK, but I kind of don't understand the difference between the two forms
>
> [common]
> 0.hold = modefunction_PLUGIN.QuickUpdate->numberScroll_0
>
> And the other is
> [SCREENSAVER.tinylittlepacman]
> arrow_left = left
>
> Say you just wanted to put in a new, generic command for holding numbers
> down:
> [common]
> 0.hold = numberHold_0
>
> If you wanted to pick this up in a plugin you'd look for it in the
> callback command you register?
> It's not enough to just put something in the function hash?
> (unless you point directly to the function as in the first example)
> Have I answered my own question?
>
> James
>
> -----Original Message-----
> From: discuss-bounces (AT) lists (DOT) slimdevices.com
> [mailto:discuss-bounces (AT) lists (DOT) slimdevices.com] On Behalf Of Sean Adams
> Sent: 18 August 2004 16:20
> To: Slim Devices Discussion
> Subject: [slim] Tiny Little PacMan Screensaver
>
>
> It appears what he's doing is just making it so that press&hold sends
> many discrete key presses while in pacman, instead of single
> press/hold/release events.
>
> This makes perfect sense for a game, since the repeat timing originates
> in the remote - you don't want to override it because then you get bad
> responsiveness from the controls.
>
>
> On Aug 18, 2004, at 8:08 AM, Craig, James (IT) wrote:
>
> > I'd like to understand this a little better as well.
> > Using Felix's 'QuickAccess' module requires the addition of lines like
> > this:
> >
> > 0 = dead
> > 0.single = numberScroll_0
> > 0.hold = modefunction_PLUGIN.QuickUpdate->numberScroll_0
> >
> > to custom.map. It's not too clear how/why this works!
> > Can this be done a little more generically to detect/differentiate
> > keys held down etc?
> >
> > James
> >
> > -----Original Message-----
> > From: discuss-bounces (AT) lists (DOT) slimdevices.com
> > [mailto:discuss-bounces (AT) lists (DOT) slimdevices.com] On Behalf Of dean
> > blackketter
> > Sent: 18 August 2004 15:08
> > To: Slim Devices Discussion
> > Subject: [slim] Tiny Little PacMan Screensaver
> >
> > Indeed.
> >
> > Felix: How can we make it easier to install so that folks don't need
> > to modify their custom IR maps?
> >
> > On Aug 18, 2004, at 2:42 AM, Craig, James (IT) wrote:
> >
> >> Wow!
> >>
> >> -----Original Message-----
> >> From: discuss-bounces (AT) lists (DOT) slimdevices.com
> >> [mailto:discuss-bounces (AT) lists (DOT) slimdevices.com] On Behalf Of Felix
> >> Mueller
> >> Sent: 18 August 2004 08:45
> >> To: discuss (AT) lists (DOT) slimdevices.com
> >> Subject: [slim] Tiny Little PacMan Screensaver
> >>
> >> Hi all
> >>
> >> Just finished my newest plugin. A playable pacman screensaver. You'll
>
> >> find it here:
> >>
> >> http://www.gwendesign.com/slimserver/development.htm#tinylittlepacman
> >>
> >> Have fun
> >> Felix
> >>
> >> P.S. Sorry, only for SqueezeboxG and SoftSqueeze
> >>
> >>
> >>
> >> __________________________________
> >> Do you Yahoo!?
> >> New and Improved Yahoo! Mail - Send 10MB messages!
> >> http://promotions.yahoo.com/new_mail
> >>