Commit Graph

66 Commits

Author SHA1 Message Date
ff8bae7de0 Layout: Make Landscape Legit && Practical
-> Make Landscape into a Legit PC Keyboard. (More standard / usable)
 -> Add a tiny bit of padding on Left/Right edges (Looks better)

 Notes/Thoughts:

 While WvKBD is almost certianly the best Wayland/wlroots-based
 OnScreen Keyboard that I've found: Presonally, I think it is NOT
 designed for real-world usage with a 2-in-1 laptop or tablet, where
 you need a 'real' keyboard, with a proper layout.

 I found it pretty much impossible to use with Hyprland. eg: no mod
 keys on the main layout, awkward arrow keys, keys moved/placed in
 radically different places, etc. TBH, even on Mobile, the
 non-familiar / non-standard layouts feel awkward to me..

 Plans:

 -> Fix/add padding on other layouts.
 -> Improve all other Layouts to be most standard

 Note: So far I have only been testing Landscape on my Surface 7
 with Hyprland && my own Shell (based on/using Aylur's Gtk Shell).

Signed-off-by: jordan Johnston <johnstonljordan@gmail.com>
2024-03-29 06:02:06 -03:00
73130886cc fixup: use narrow no-break-space and changed the key label 2023-08-31 13:27:54 +02:00
67ef1d40f3 Add non-breaking space to compose punctuation 2023-08-31 12:38:35 +02:00
50c40863b8 Add . from compose punctuation now that we removed the bottom bar 2023-08-31 12:07:21 +02:00
d75d42aaa1 Add back ctrl on bracket layout 2023-08-31 12:04:08 +02:00
84020a9151 compose + , on simple layout open bracket/quote layout
This deviates from the rest a bit but we need an ability to trigger this
layout. compose + -  is still available for the 'math' layout.
2023-08-31 12:03:59 +02:00
3504f83ca6 Cleanup bracked compose layout 2023-08-31 12:00:22 +02:00
9687d839f9 Drop simple grid 2023-08-31 11:41:20 +02:00
dcca9e48c7 Fix compose , from Simple to move to punctuations
Signed-off-by: Willow Barraco <contact@willowbarraco.fr>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2023-08-31 11:39:17 +02:00
ca9b028795 Cleaning up remaining compose layouts
This strip everything that isn't the key we come for, Shift and Abc.

Signed-off-by: Willow Barraco <contact@willowbarraco.fr>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2023-08-31 11:39:17 +02:00
29e32edf5c shift + space = tab
This is implemented not in the keymap but as a hack in wvkbd itself,
the keymap would output shift + tab otherwise.
2023-08-31 11:39:17 +02:00
17863cdabc removed/revised bottom row on compose layouts
most compose layouts are more minimalistic don't have space/backspace/enter anymore, pressing
a key will close the layout anyway. All layouts retain an Abc button
, even though tapping any non-key will close the layout just as well.

Some compose layouts have added modifiers (ctrl, alt, super) in the
bottom row
2023-08-31 11:39:17 +02:00
8c6baa800b revised keyboard switch icons to also work on small keys 2023-08-31 11:39:17 +02:00
81e5c01a22 added a full wide layout and revised the layout index
This is basically the same as the old 'full' layout, the new 'full'
layout removed some keys to reduce width. But on bigger devices like
tablets the old full layout was fine.
2023-08-31 11:39:17 +02:00
f402af96fa added dedicated symbols layout for landscape mode 2023-08-31 11:39:17 +02:00
6101db15b9 fix: reordered layouts 2023-08-31 11:39:17 +02:00
848e836713 added hebrew layout (based on initial work by Schimon Jehudah) 2023-08-31 11:39:17 +02:00
8bffc1adc3 added tab key to common compose layouts 2023-08-31 11:39:17 +02:00
f52345aaef more consistent compose behaviour across layouts
* compose + "." opens up punctuation layout
* compose + ","/"-" opens up math layout
* compose + "'"/0/9 opens up bracket layout
2023-08-31 11:39:17 +02:00
048e25d660 revising landscape keyboard to be more consistent with the other layouts 2023-08-31 11:39:17 +02:00
2e476c6548 Made 'full' and 'simple' layouts less prone to mistyping and improved layout switching
- The full layout now squashes less keys in a row, to accomplish this
  the semicolon/colon, equal/plus and alt keys had to be sacrificed
  from the full layout (they're on the special/symbols layout still).
- The half-keys in the simple layout are removed, giving a bit more
  space.
- The default total keyboard height has been slightly enlarged (10px)
- The compose key moved down, it was too close to the 'a' (accidental
  presses). The tab key moved to the top-right.
- The spacing between the buttons is slightly larger (aesthetic only)
- The key for layer switching is now labelled more consistently with an icon, and indicates direction of switching with an arrow
- An extra "index" layout was added that can be activated by pressing
  Compose + the next/prev layout button. It has a key for each layout,
  even those not specified at start. This special layout does not appear
  in the normal layer cycling.
- The "Abc" key on secondary layers returns to the last alphabetical layout
- The compose layouts automatically hide when the user presses the space
  where there are no keys, no need to explicitly press the "Abc" key.
2023-08-31 11:39:17 +02:00
98e6c43d54 specialpad: a new 4x10 layout like a numpad
More compact than 'special',
made to complement 'simple'.

Works well for both 'nav' and 'dialer' uses.

Signed-off-by: Anjandev Momi <anjan@momi.ca>
2023-04-29 23:40:17 -07:00
2d84f0e241 simple: add comma
Signed-off-by: Anjandev Momi <anjan@momi.ca>
2023-04-29 23:40:17 -07:00
a2b5b78051 Switched mismatched position of 'ľ' and 'Ľ'
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2023-02-03 20:52:20 +01:00
b32509163d layout: fix open parenthesis on landscape layout
This key had the wrong type, which was preventing it from sending a
character.

Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2022-11-26 00:08:18 +01:00
1f3e6f681f Fix dialer numeric pound key 2022-11-15 16:07:58 +01:00
5de2fcc39d fix: arabic key layout
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2022-07-25 10:54:20 +02:00
14f0f0824b shift key: change icon when shifted
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2022-07-10 22:57:55 +02:00
f9bf42129a border: display around all sides
(not just top and left edges)

Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2022-07-10 22:52:22 +02:00
0cd0d5e1a1 layout: Implement spacing better
to no longer need overscan

Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2022-07-10 22:52:22 +02:00
b974877be4 Add + sign in dialer. 2022-07-05 06:39:23 -05:00
94ca075563 reran clang-format 2022-06-13 23:05:14 +02:00
88bbdb0c64 Add some math and punctiation symbols from simple grid 2022-06-13 22:47:25 +02:00
6ab0361d80 Replace , to - in simple layout 2022-06-13 22:47:13 +02:00
aa258a01dd Reverse nav backspace and whitespace 2022-06-13 22:41:52 +02:00
0a680c0a7a More symbols and layout improvement 2022-06-13 21:58:26 +02:00
a8ba3c02a9 Modern Greek keyboard added 2022-06-13 21:58:19 +02:00
b77f0582fc Add Persian layout 2022-06-13 21:58:09 +02:00
f74fe9a182 layout.mobintl.h: fix hungarian ő and Ő characters
Before this, the bigger one was typed for pressing the smaller,
and vica versa.
2022-06-13 21:56:35 +02:00
de4b4dcd2e layout.mobintl.h: fix same big/little issue for ų 2022-06-13 21:56:23 +02:00
849f4600e9 project: rerun clang-format
TODO make a commit or PR hook for this
2022-06-13 21:55:47 +02:00
c541c7dbd6 add Georgian layout 2022-01-08 07:53:34 +00:00
780a83dba5 Fixed erroneous glyphcodes for turkish dotless i and turkish capital I with dot 2022-01-08 07:48:49 +00:00
6abc005124 added missing abc/sym key to dialer layer 2021-12-01 10:01:43 -08:00
4bf9d53a00 Add a dialer layout
Signed-off-by: Stacy Harper <contact@stacyharper.net>
2021-11-16 10:23:29 -08:00
1562c08a06 added missing sym key to nav layer 2021-11-01 12:47:25 -07:00
1bbeb8861e added simple navigation layer 2021-11-01 12:47:25 -07:00
31f209bcd5 fixed emoji layout 2021-11-01 12:42:46 -07:00
bb1eff09be applied clang-format (no functional changes), but exempted custom include order in keyboard.c and main.c 2021-10-19 23:12:01 -07:00
4695a78e25 fixed key label for Shift + KEY_SLASH on latin keymap 2021-10-19 23:12:01 -07:00