[Sugar-devel] Accelerators: make Journal 'F5'

Martin Dengler martin at martindengler.com
Fri Aug 21 06:47:35 EDT 2009


On Fri, Aug 21, 2009 at 12:40:05PM +0200, Sascha Silbe wrote:
> On Fri, Aug 21, 2009 at 11:28:35AM +0100, Martin Dengler wrote:
>
>> F11-on-XO1 and SoaS-on-XO-1 have Journal mapped to the Search key
>> correctly.
>
> How do you set the key mapping? Which key mapping file do you use?

It Just Works due to the hal-info rules:

$ less /usr/share/hal/fdi/information/10freedesktop/30-keymap-olpc.fdi
<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->

<deviceinfo version="0.2">
  <device>
    <!-- These are raw scancodes produced by the atkbd driver -->
    <match key="@input.originating_device:info.linux.driver" string="atkbd">
      <!-- OLPC devices -->
      <match key="/org/freedesktop/Hal/devices/computer:system.hardware.vendor" string="OLPC">
        <match key="/org/freedesktop/Hal/devices/computer:system.hardware.product" string="C2">
[...]
          <append key="input.keymap.data" type="strlist">e079:find</append> <!-- Loupe -->
[...]
        </match>
      </match>
    </match>
  </device>
</deviceinfo>

> CU Sascha

Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.sugarlabs.org/archive/sugar-devel/attachments/20090821/517c5ddd/attachment.pgp 


More information about the Sugar-devel mailing list