mirror of
https://github.com/keymanapp/keyman.git
synced 2026-10-17 03:17:33 +00:00
57 lines
1.7 KiB
XML
57 lines
1.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
||
<!DOCTYPE keyboard SYSTEM "../../../../../resources/standards-data/keylayout/dtd/keylayout.dtd">
|
||
<!--
|
||
|
||
Data generated August 1st 2025
|
||
|
||
Generated by S. Schmitt
|
||
Tests if duplicate key definitions return a warning
|
||
|
||
-->
|
||
<keyboard group="126" id="-1272" name="Test_ambiguous_keys" maxout="1">
|
||
<layouts>
|
||
<layout first="0" last="0" mapSet="138" modifiers="30"/>
|
||
</layouts>
|
||
<modifierMap id="30" defaultIndex="0">
|
||
<keyMapSelect mapIndex="0">
|
||
<modifier keys=""/>
|
||
</keyMapSelect>
|
||
<keyMapSelect mapIndex="1">
|
||
<modifier keys="caps"/>
|
||
</keyMapSelect>
|
||
<keyMapSelect mapIndex="2">
|
||
<modifier keys=""/>
|
||
</keyMapSelect>
|
||
</modifierMap>
|
||
<keyMapSet id="ANSI">
|
||
<!-- good definition -->
|
||
<keyMap index="0">
|
||
<key code="0" output="a"/>
|
||
<key code="1" output="s"/>
|
||
<key code="2" output="d"/>
|
||
<key code="3" output="f"/>
|
||
</keyMap>
|
||
<!-- ambibuous keys in 1 behaviour -->
|
||
<keyMap index="1">
|
||
<key code="0" output="a"/>
|
||
<key code="1" output="s"/>
|
||
<key code="1" output="X"/>
|
||
<key code="3" output="Y"/>
|
||
</keyMap>
|
||
<!-- ambibuous keys in keyMap index="0" vs keyMap index="2" -->
|
||
<keyMap index="2">
|
||
<key code="0" output="1"/>
|
||
<key code="1" output="2"/>
|
||
<key code="2" output="3"/>
|
||
<key code="3" output="4"/>
|
||
</keyMap>
|
||
</keyMapSet>
|
||
<actions>
|
||
<action id="a0">
|
||
<when state="none" output=" "/>
|
||
</action>
|
||
</actions>
|
||
<terminators>
|
||
<when state="1" output="ˆ"/>
|
||
</terminators>
|
||
</keyboard>
|