abouttreesummaryrefslogcommitdiff
path: root/srcs/layouts/deva_alt.xml
diff options
context:
space:
mode:
authorJules Aguillon2025-06-18 00:49:34 +0200
committerGitHub2025-06-18 00:49:34 +0200
commit71d278402644fd16a2f407518346746f16538de6 (patch)
tree8df119b68d7d0f15b38eebec6277f756dcf01457 /srcs/layouts/deva_alt.xml
parentf9b844e98864fc1223687c6836a26e773a80c99f (diff)
downloadunexpected-keyboard-71d278402644fd16a2f407518346746f16538de6.tar.gz
unexpected-keyboard-71d278402644fd16a2f407518346746f16538de6.zip
Add <row scale=""> attribute (#1018)
* Add <row scale=""> attribute Scale the width of the keys in the row to match a value. Useful to remove space on the right of the row without adding a 'width' attribute to each key. * layouts: Use the 'scale=""' attribute in builtin layouts This removes the very specific 'width' values.
Diffstat (limited to 'srcs/layouts/deva_alt.xml')
-rw-r--r--srcs/layouts/deva_alt.xml32
1 files changed, 16 insertions, 16 deletions
diff --git a/srcs/layouts/deva_alt.xml b/srcs/layouts/deva_alt.xml
index d956777..7fa6791 100644
--- a/srcs/layouts/deva_alt.xml
+++ b/srcs/layouts/deva_alt.xml
@@ -1,22 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<keyboard name="देवनागरी (हिंदी)-2" script="devanagari">
- <row>
- <key shift="0.35" width="0.9" c="क" nw="ख" ne="घ" sw="ङ" se="ग"/>
- <key width="0.9" c="च" nw="छ" ne="झ" sw="ञ" se="ज"/>
- <key width="0.9" c="ट" nw="ठ" ne="ढ" sw="ण" se="ड" anticircle="७" indication="७"/>
- <key width="0.9" c="त" nw="थ" ne="ध" sw="न" se="द" anticircle="८" indication="८"/>
- <key width="0.9" c="प" nw="फ" ne="भ" sw="म" se="ब" anticircle="९" indication="९"/>
- <key width="0.9" c="र" nw="ज्ञ" ne="ल" sw="य" se="व"/>
- <key width="0.9" c="ह" nw="श" ne="ळ" sw="स" se="ष"/>
+ <row scale="6.6">
+ <key shift="0.35" c="क" nw="ख" ne="घ" sw="ङ" se="ग"/>
+ <key c="च" nw="छ" ne="झ" sw="ञ" se="ज"/>
+ <key c="ट" nw="ठ" ne="ढ" sw="ण" se="ड" anticircle="७" indication="७"/>
+ <key c="त" nw="थ" ne="ध" sw="न" se="द" anticircle="८" indication="८"/>
+ <key c="प" nw="फ" ne="भ" sw="म" se="ब" anticircle="९" indication="९"/>
+ <key c="र" nw="ज्ञ" ne="ल" sw="य" se="व"/>
+ <key c="ह" nw="श" ne="ळ" sw="स" se="ष"/>
</row>
- <row>
- <key shift="0.35" width="0.9" c="ा" nw="अ" ne="आ"/>
- <key width="0.9" c="ि" nw="इ"/>
- <key width="0.9" c="ी" nw="ई" anticircle="४" indication="४"/>
- <key width="0.9" c="ु" nw="उ" ne="ऊ" se="ू" anticircle="५" indication="५"/>
- <key width="0.9" c="े" nw="ए" ne="ऋ" se="ृ" anticircle="६" indication="६"/>
- <key width="0.9" c="ै" nw="ऐ" ne="ऌ" se="ॢ"/>
- <key width="0.9" c="ो" nw="ओ" ne="औ" se="ौ"/>
+ <row scale="6.6">
+ <key shift="0.35" c="ा" nw="अ" ne="आ"/>
+ <key c="ि" nw="इ"/>
+ <key c="ी" nw="ई" anticircle="४" indication="४"/>
+ <key c="ु" nw="उ" ne="ऊ" se="ू" anticircle="५" indication="५"/>
+ <key c="े" nw="ए" ne="ऋ" se="ृ" anticircle="६" indication="६"/>
+ <key c="ै" nw="ऐ" ne="ऌ" se="ॢ"/>
+ <key c="ो" nw="ओ" ne="औ" se="ौ"/>
</row>
<row>
<key c="ऽ" se="\@"/>