[haiku-development] Re: ShowImage patch

  • From: PulkoMandy <pulkomandy@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sat, 7 Mar 2009 15:24:46 +0100

>>> Is it possible to get at the raw keycodes (i.e. keyboard scancodes)? By
>>> checking those, one could act on the actual Alt key. I checked the
>>> BeBook,
>>> but I didn't find anything which would indicate raw support; all the key
>>> codes in the API seem to be "cooked".
>>
>> I don't think there is any way to do that, as the raw keycodes are
>> something specific to the PC computers,
>
> This isn't quite true, the scancodes are specific to the AT or PS/2 keyboard
> specification. These are used on a lot of machines which are not PCs. E.g.
> I'm rather sure that the PPC-based AmigaOS clones use normal PS/2 keyboards
> and interface circuits. Actually I think that nowadays Apple may be the only
> producer of non-standard keyboards.

Right, but when the Be API was created, it was intended to run on the
BeBox, which is not using this kind of keyboard. And BeOS still ran on
macintoshes with another keyboard system until R5. So I don't think
the BeAPI includes any access to the raw keycodes.

Other related posts: