A keyboard question

Is the Logitech iTouch Keyboard and its special keys in any way supported by
sdl key handling functions???

would be a nice feature if not yet implemented …

Thanx in advance
Pez

All the keysyms I know of for SDL are here:
http://sdldoc.csn.ul.ie/sdlkey.php
(and I am assuming this is up to date)

But, actually, now that you mention it, it would be nice to be able to map
wierd and non-standard keys to user defined keysyms (perhaps setup in a similar
fashion to SDL_UserEvent, http://sdldoc.csn.ul.ie/sdluserevent.php).

If it were feasable, something like this would be a nice addition to 1.3 ;-)On Wed, 25 Apr 2001, you wrote:

Is the Logitech iTouch Keyboard and its special keys in any way supported by
sdl key handling functions???

would be a nice feature if not yet implemented …


Sam “Criswell” Hart <@Sam_Hart> AIM, Yahoo!:
Homepage: < http://www.geekcomix.com/snh/ >
PGP Info: < http://www.geekcomix.com/snh/contact/ >
Advogato: < http://advogato.org/person/criswell/ >

Samuel Hart wrote:

Is the Logitech iTouch Keyboard and its special keys in any way supported by
sdl key handling functions???

would be a nice feature if not yet implemented …
[snip]
If it were feasable, something like this would be a nice addition to 1.3 :wink:

If the iTouch is anything like my Logitech cordless then the special keys
aren’t supported by X at all. I don’t have scan codes for iTouch at hand.

A normal Linux kernel sees the key-strokes, but doesn’t have any mapping
for them so it throws them away. I’ve had to hack my kernel to pass the
keys to a program that does what I want with the appropriate keys.

Again, X doesn’t know about them - I can press them and trigger events, yet
the screen blanker isn’t affected.

So, as far as SDL is concerned this sort of stuff isn’t going to be
portable. Even if there were a system interface, not many people are
going to have a special keyboard.

Does SDL support the ‘Windows’ keys? X certainly supports those, as well
as mice with wheels.

Ta.

  • Deth -> On Wed, 25 Apr 2001, you wrote:

Samuel Hart <@Sam_Hart> wrote:

Is the Logitech iTouch Keyboard and its special keys in any way supported by
sdl key handling functions???

would be a nice feature if not yet implemented …
[snip]
If it were feasable, something like this would be a nice addition to 1.3 :wink:

If the iTouch is anything like my Logitech cordless then the special keys
aren’t supported by X at all. I don’t have scan codes for iTouch at hand.

A normal Linux kernel sees the key-strokes, but doesn’t have any mapping
for them so it throws them away. I’ve had to hack my kernel to pass the
keys to a program that does what I want with the appropriate keys.

Again, X doesn’t know about them - I can press them and trigger events, yet
the screen blanker isn’t affected.

So, as far as SDL is concerned this sort of stuff isn’t going to be
portable. Even if there were a system interface, not many people are
going to have a special keyboard.

Does SDL support the ‘Windows’ keys? X certainly supports those, as well
as mice with wheels.

AFAIK, SDL does support the “Windows” keys…

And actually, the keys I was refering to are the myriad of wierd keys that many
laptops have. For example, my Toshiba has a “one-touch internet access” key.
This key is mapped (it’s actually a combo key, like the “windows” key, but I
forget it’s scan code as well) and can be used in X. I have been able to use
this key in KDE 2.x (locks my screen :wink:

What I had in mind was some sort of user definable keysyms, where you could set
scan codes (or whatever is needed) to accept them.

This would not be for mapping widely used keys, rather for mapping obscure and
wierd keys for particular hardware, to create software specific to that
hardware (one use for this that comes to mind is embedded and psuedo-embedded
devices…) … While, at this point, you could come up with your own keyboard
event handler for your hardware, it just would be nice to already have one
ready which can be extended. (again, I have no idea how feasable that is…
that was just my original thought ;-)On Fri, 27 Apr 2001, you wrote:

On Wed, 25 Apr 2001, you wrote:


Sam “Criswell” Hart <@Sam_Hart> AIM, Yahoo!:
Homepage: < http://www.geekcomix.com/snh/ >
PGP Info: < http://www.geekcomix.com/snh/contact/ >
Advogato: < http://advogato.org/person/criswell/ >

“Lee Haywood” schrieb im Newsbeitrag
news:988403142 at ksl.uk

Samuel Hart wrote:

Is the Logitech iTouch Keyboard and its special keys in any way
supported by

sdl key handling functions???

would be a nice feature if not yet implemented …
[snip]
If it were feasable, something like this would be a nice addition to 1.3
:wink:

If the iTouch is anything like my Logitech cordless then the special keys
aren’t supported by X at all. I don’t have scan codes for iTouch at hand.

A normal Linux kernel sees the key-strokes, but doesn’t have any mapping
for them so it throws them away. I’ve had to hack my kernel to pass the
keys to a program that does what I want with the appropriate keys.

Again, X doesn’t know about them - I can press them and trigger events,
yet
the screen blanker isn’t affected.

So, as far as SDL is concerned this sort of stuff isn’t going to be
portable. Even if there were a system interface, not many people are
going to have a special keyboard.

Does SDL support the ‘Windows’ keys? X certainly supports those, as well
as mice with wheels.

Ta.

  • Deth -

I’ve got the keys working with linux and X…
I changed some lines of xmms to support and they work just fine… volume
up/down next/prev track play/stop , …
They are just not activated in default mode… you can change your
xmodmap to get them working…
(let me know if want help installing them…) there was an article on
o’reillys net that covered this…

Greetings to all out there
PeZ> > On Wed, 25 Apr 2001, you wrote: