From: Arnaud Q. <aqu...@gm...> - 2007-03-15 23:41:36
|
[replying to the list] 2007/3/13, Bengt Martensson <no...@be...>: > Arnaud Quette wrote: > ... > > > - New name space proposed: > > http://arnaud.quette.free.fr/lirc/lirc-nns.html > > > > This last can later be included in the html doc and pointed in a new > > doc section: "How to add a new remote definition", that would also > > present irrecord usage. > > We might also prefer to sort the names in groups instead of alphanum. ie > > - main group (mandatory, contains all the common keys): KEY_0 to > > KEY_9, KEY_{PLAY,PAUSE,STOP,...} > > - the rest... > > It will also serve as a base for potential modification to irrecord, > > and the creation of an irrecord like GUI (in _wx_, gtk, qt, ...). Any > > volunteer btw? > > Just a quick comment: The name "power" should be replaced by > power_toggle, power_on, and power_off. The name "power" should then be > explicitly prohibited/discouraged. The same goes for "mute", possibly > also for extern_input, night_mode, effects,... > > Motivation: The meaning and importance of discrete codes for e.g. power > should be clear for readers of this list. (Otherwise see > remotecentral.com). Calling a key just "power" is thus confusing. The > increased length ("power_toggle" vs. "power") should be of minor importance. ok, this wasn't obvious to me until I followed the link. Never seen such a thing before ;) there is currently no such name in the current namespace, and the linux namespace doesn't define it. So though there will be a need, there is no hurry. @Vojtech: what do you think about that? > (ie isn't KEY_ESC equivalent to > > KEY_EXIT?) > > Hmm, no. ESC is a key sending code 0x1B. In different context, computer > programs gives this different semantics. Labeling a key on a consumer > electronics remote with "ESC" is nothing but silly (is there an example?) I was meaning the key name substituted with these new value, not the value itself. As you say, such a thing would be silly, so I've thought that the contributor has mixed between ESC (and its many case variation) and EXIT... thanks for your feedback Arnaud -- Linux / Unix Expert - MGE UPS SYSTEMS - R&D Dpt Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/ Debian Developer - http://people.debian.org/~aquette/ OpenSource Developer - http://arnaud.quette.free.fr/ |