Re: PC Keyboard Scancodes

2000-04-20 Thread Daniel O'Connor
On 19-Apr-00 Brian Fundakowski Feldman wrote: I've got a nice script and better version of scancodes.c to do this for me now, so here goes :) These are the keys on the Logitech cordless keyboard, and they are undoubtedly the same for the rest of the Logitech iTouch keyboards.

Re: PC Keyboard Scancodes

2000-04-20 Thread Daniel O'Connor
On 20-Apr-00 Brian Fundakowski Feldman wrote: Sure: Gracias. With the new output format, I can tell that the released scancode is the pressed scancode + 128 (| 0x80). Cool :) Yes, the kbd driver handles this automatically. I've altered atkbd.c to grok the new keys, I also added 'power'

Re: PC Keyboard Scancodes

2000-04-18 Thread Brian Fundakowski Feldman
I've got a nice script and better version of scancodes.c to do this for me now, so here goes :) These are the keys on the Logitech cordless keyboard, and they are undoubtedly the same for the rest of the Logitech iTouch keyboards. Script or scancodes.c on request, of course :) I hope this will

Re: PC Keyboard Scancodes

2000-04-16 Thread Soren Schmidt
It seems Anatoly Vorobey wrote: Of course, with all those new keys on all those keyboards, we should perhaps think about whether to add all of them as new keycodes, and if so, in which order, etc. I've no idea if FreeBSD's concept of 'keycode' (i.e. key number independent of keyboard model)

Re: PC Keyboard Scancodes

2000-04-16 Thread Warner Losh
In message [EMAIL PROTECTED] Soren Schmidt writes: : I modelled them after SCO UNIX 3.2 way back when, I know that upto : some point I kept the keymaps compatible to SCO's, but I think that : got broken since I don't think SCO does these new keys. If I do anything in this area, I'll check

Re: PC Keyboard Scancodes

2000-04-15 Thread Warner Losh
In message [EMAIL PROTECTED] Mike Pritchard writes: : Here are the codes for the Compaq "Easy Access Internet Keyboard". : They also have a newer version with even more buttons, but I don't : have access to one, so I can't supply the codes for it. If someone : is going to do some work to get the

Re: PC Keyboard Scancodes

2000-04-15 Thread Anatoly Vorobey
You, Warner Losh, were spotted writing this on Sat, Apr 15, 2000 at 12:01:05AM -0600: In message [EMAIL PROTECTED] Mike Pritchard writes: : Here are the codes for the Compaq "Easy Access Internet Keyboard". : They also have a newer version with even more buttons, but I don't : have access to

PC Keyboard Scancodes

2000-04-14 Thread Daniel O'Connor
Hi, I put together a new PC and noticed the keyboard I bought has 3 extra keys (Wakeup, Sleep, and Power). I wondered if they could be used by mapping scancodes to the corresponding meanings, but I can't find the scan codes. I made a keymap file which mapped the scan codes from 109 to 255 to

Re: PC Keyboard Scancodes

2000-04-14 Thread Anatoly Vorobey
You, Daniel O'Connor, were spotted writing this on Fri, Apr 14, 2000 at 05:54:16PM +0930: Hi, I put together a new PC and noticed the keyboard I bought has 3 extra keys (Wakeup, Sleep, and Power). I wondered if they could be used by mapping scancodes to the corresponding meanings, but I

Re: PC Keyboard Scancodes

2000-04-14 Thread Warner Losh
In message [EMAIL PROTECTED] "Daniel O'Connor" writes: : I put together a new PC and noticed the keyboard I bought has 3 extra keys : (Wakeup, Sleep, and Power). I wondered if they could be used by mapping : scancodes to the corresponding meanings, but I can't find the scan codes. I also

Re: PC Keyboard Scancodes

2000-04-14 Thread Anatoly Vorobey
I will see if I can try what Anatoly suggests.. :) Use this simple prog to cough up the scancodes: #include stdio.h #include sys/kbio.h #include sys/ioctl.h #include fcntl.h #include termios.h void die(char *str) { perror(str); exit(0); } int main(void) { int err, mode; struct

Re: PC Keyboard Scancodes

2000-04-14 Thread Anatoly Vorobey
On Sat, Apr 15, 2000 at 01:43:40AM +0930, Daniel O'Connor [EMAIL PROTECTED]\ ,Daniel O'Connor wrote: On 14-Apr-00 Warner Losh wrote: I also yesterday got one of those damn microsoft internet keyboards and it has lots of extra keys that don't show up either. Including the Wakeup,

Re: PC Keyboard Scancodes

2000-04-14 Thread Warner Losh
In message [EMAIL PROTECTED] Anatoly Vorobey writes: : Use this simple prog to cough up the scancodes: OK. Looks like the new microsoft keyboard that I have does indeed just send the scan codes. I have just a few keys: Key DownUp

Re: PC Keyboard Scancodes

2000-04-14 Thread Warner Losh
In message [EMAIL PROTECTED] Anatoly Vorobey writes: : Also this may be of help: : : http://www.microsoft.com/hwdev/desinit/scancode.htm : : It doesn't seem to contain anything about enabling them though, seems : like they should just emit the scancodes listed. That's what I'm seeing

Re: PC Keyboard Scancodes

2000-04-14 Thread Daniel O'Connor
On 14-Apr-00 Warner Losh wrote: That's what I'm seeing here. now, to find some time to "package" it into something the FreeBSD can use. And also to hack XFree86 into groking them. Ah, but that would require that I have something like freetime. Well, I can probably get FreeBSD to grok