Skip to content

Commit

Permalink
update Readme, fix extended func keys
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-keyboard@1134 b067294f-1dea-0310-9683-c47a78595994
  • Loading branch information
mallum committed Apr 27, 2005
1 parent 8e9df89 commit 8efbffd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
8 changes: 8 additions & 0 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,14 @@ children. A key tag can optionally have the following attributes;

If set, the keys width is set to fill all available free space.

* extended=true|false ( defaults to false )

Keys set with this extended attribute set to true will *only*
be shown if the display is landscape, rather than portrait.
The rational for this is to better adapt to screen rotations.
( Note: the <space> tag can also use this. )


The <key> then has sub tags specifies the appearance and action for
the five possible key states; <default>,<shifted>,<mod1>,<mod2>,<mod3>.

Expand Down
8 changes: 4 additions & 4 deletions layouts/keyboard.xml
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,10 @@
<space width="500" extended="true"/>

<key width="4000" extended="true">
<default display="Home" />
<default display="Home" action="home"/>
</key>
<key width="4000" extended="true">
<default display="PgUp" />
<default display="PgUp" action="pageup"/>
</key>

<space width="500" extended="true"/>
Expand Down Expand Up @@ -168,10 +168,10 @@
<space width="500" extended="true"/>

<key width="4000" extended="true">
<default display="End" />
<default display="End" action="end"/>
</key>
<key width="4000" extended="true">
<default display="PgDn" />
<default display="PgDn" action="pagedown"/>
</key>

<space width="500" extended="true"/>
Expand Down

0 comments on commit 8efbffd

Please sign in to comment.