[haiku-development] Re: magic keyboard driver

  • From: Michael Lüftenegger <mlueft@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 19 Aug 2010 11:13:33 +0200


Yesterday I tried to use shortcuts. But I have no idea how it's working. I
configured my "esc" key to make a 'Beep. After save&Apply I hided all
windows, but my esc key didn't beep when pressed.

Do you have any ideas how this is working?


On Thu, Aug 19, 2010 at 10:37 AM, Stephan Assmus <superstippi@xxxxxx> wrote:

> Am 19.08.2010 00:17, schrieb Paul Davey:
>>> Different keymaps per hardware keyboard is an idea I have liked and
>>> advertised since a long time. My vision was to create a single preference
>>> application for "Input" devices, which would present the attached
>>> devices,
>>> and display the configuration GUI (which would be mostly the refactored
>>> code
>>> from the existing preflets) depending on which device is selected. I
>>> never
>>> got far in implementing this idea and pretty much the only change I did
>>> was
>>> to give each input_server keyboard device instance it's own copy of the
>>> keymap. The only fundamental difference I see in your proposal is that
>>> key
>>> codes can be greater than 127, but I believe they are stored in the key
>>> event BMessage as int32 ("key"), so it wouldn't be a problem. I don't
>>> envision the need for a separate driver. Rather the existing input_device
>>> add-ons should look up their settings (keymap, state of modifier keys)
>>> based
>>> on the device name exported by the driver (mechanism needs to be added,
>>> perhaps).
>> for the majority of keyboards they would be USB keyboards, wont they
>> have vendor and device IDs for the USB devices that would allow this
>> to be implemented?
> Of course, they even have a product name string (mostly).
> Best regards,
> -Stephan


Other related posts: