Dorota Czaplejewicz
f60917e466
symbols: Removed redundant info
2019-08-18 13:20:43 +00:00
Dorota Czaplejewicz
699e785340
Remove unused variables
2019-08-13 12:36:52 +00:00
Dorota Czaplejewicz
6081dc240a
modifiers: Remove empty argument
2019-08-13 12:36:14 +00:00
David Boddie
73d2505c89
Do not pass the symbol to the key emitter
2019-08-13 12:24:11 +00:00
David Boddie
8cf39394c5
Update create_key to match the function assigned to it
2019-08-13 12:07:24 +00:00
Dorota Czaplejewicz
ecf6957a6e
Merge branch 'fix_num_layouts' into 'master'
...
views: Don't lay out views that are missing
See merge request Librem5/squeekboard!126
2019-08-13 12:02:07 +00:00
Dorota Czaplejewicz
d858005a68
Merge branch 'improve-drag-handling' into 'master'
...
Release each pressed key instead of the current pressed key
See merge request Librem5/squeekboard!125
2019-08-13 12:01:57 +00:00
Dorota Czaplejewicz
6309fa8a48
views: Don't lay out views that are missing
2019-08-13 11:59:28 +00:00
David Boddie
91d7cc1118
Release each pressed key instead of the current pressed key
2019-08-10 16:11:53 +00:00
Dorota Czaplejewicz
a072755cee
layout: Use show_symbols instead of shift
2019-08-08 20:04:44 +00:00
Dorota Czaplejewicz
1cfec4de50
key: Share state between multiple keys
2019-08-08 20:04:38 +00:00
Dorota Czaplejewicz
cc3f2315a7
Use keyboards as views
...
Got rid of modifiers in the process. Still buggy: dragging over keys.
2019-08-08 19:56:36 +00:00
Dorota Czaplejewicz
f745223796
symbols: Stop parsing key groups
2019-08-08 19:26:25 +00:00
Dorota Czaplejewicz
25a2e95890
keyboard: Remove unused numlock and altgr masks
2019-08-08 19:26:24 +00:00
Dorota Czaplejewicz
f371b14e89
levelkeyboard: Use a layer for managing keyboard views
2019-08-08 19:26:21 +00:00
Dorota Czaplejewicz
0b6935e50c
keystate: Use keycode
2019-08-08 19:18:29 +00:00
Dorota Czaplejewicz
fb93e25833
eekkey: Moved state to KeyState
2019-08-08 19:18:29 +00:00
Dorota Czaplejewicz
ad86cb531a
symbol: Store symbols instead of pointers
2019-08-08 19:18:29 +00:00
Dorota Czaplejewicz
53b89aae45
symbol: Remove remains
2019-08-08 19:18:29 +00:00
Dorota Czaplejewicz
b76e43679e
level: Remove level from elements
2019-08-08 19:18:29 +00:00
Dorota Czaplejewicz
077ca8fad2
level: Make keyboard the only source of level data
2019-08-08 19:18:29 +00:00
Dorota Czaplejewicz
377521c108
section: Remove unused press signals
2019-08-08 19:18:29 +00:00
Dorota Czaplejewicz
23d5f18d4a
symbols matrix: Remove in favor of a levels vector
2019-08-08 19:18:28 +00:00
Dorota Czaplejewicz
c8adb45ab5
keyboard: Expose creating sections directly
2019-08-08 19:18:28 +00:00
Dorota Czaplejewicz
18163e3ecc
geometry: Simplify keyboard declarations
2019-08-08 19:18:23 +00:00
Dorota Czaplejewicz
a18beca50c
geometry: Move keycode to costomizations
2019-08-08 19:11:53 +00:00
Dorota Czaplejewicz
04b721aed9
geometry: Move customizations to the button table
2019-08-08 19:11:53 +00:00
Dorota Czaplejewicz
45f9353164
geometry: Use default outline by default
2019-08-08 19:11:53 +00:00
Dorota Czaplejewicz
5abe6ed6be
geometry: Remove unused row element
2019-08-08 19:11:43 +00:00
Dorota Czaplejewicz
38f81e45f4
Break out symbol handling into Rust
2019-08-08 12:51:15 +00:00
Dorota Czaplejewicz
c1482c2377
Merge branch 'add-frame-rendering' into 'master'
...
Add frame rendering, fix style sheet to show key borders
See merge request Librem5/squeekboard!123
2019-08-05 21:20:36 +00:00
Dorota Czaplejewicz
f7d30b0df3
Clarify some arithmetic warnings
2019-08-05 17:01:22 +00:00
Dorota Czaplejewicz
3e35b7441e
Drop unused variables
2019-08-05 17:01:22 +00:00
Dorota Czaplejewicz
754e79103a
keyboard: Drop layout reference
2019-08-05 17:01:22 +00:00
David Boddie
d6b59d16fd
Merge branch 'keyboard-signal' into 'master'
...
gtk-keyboard: Remove unused signal connections
See merge request Librem5/squeekboard!120
2019-08-05 14:27:09 +00:00
David Boddie
0b59262e95
Add frame rendering, fix style sheet to show key borders
2019-08-05 13:39:22 +02:00
David Boddie
593946779e
Correct icon size for scaling
2019-08-05 13:21:01 +02:00
Dorota Czaplejewicz
537ded4b58
Merge branch 'release-keys-when-focus-is-lost' into 'master'
...
Release pressed keys when dragging outside the keyboard
See merge request Librem5/squeekboard!119
2019-08-04 11:00:20 +00:00
Dorota Czaplejewicz
25a6a00f0f
Merge branch 'fix-key-press-checks' into 'master'
...
Use keyboard's coordinate system to check for presses
See merge request Librem5/squeekboard!118
2019-08-04 10:52:58 +00:00
Dorota Czaplejewicz
8298a1412b
gtk-keyboard: Remove unused signal connections
2019-08-04 10:23:57 +00:00
David Boddie
0057c80b2e
Release pressed keys when dragging outside the keyboard
...
If no keys are under the touch position when dragging then release all
existing pressed keys. This fixes the problem where the last pressed key
causes events to be sent while the touch position moves outside the
keyboard extent.
2019-08-02 15:31:18 +00:00
David Boddie
da88831689
Fix key rendering to only scale once
2019-08-02 17:04:16 +02:00
David Boddie
7b6c6e51b3
Fix background rendering
2019-08-02 17:04:16 +02:00
David Boddie
42b2b3b8f6
Replace the Eek theme support with GTK classes
...
This brings the appearance of the keyboard basically in line with what
was there before. The background and key borders still need to be fixed
and the text and icons should probably be drawn using the style context.
2019-08-02 17:04:16 +02:00
David Boddie
64680664e3
Use a CSS provider and style context instead of the old theme support
2019-08-02 17:04:16 +02:00
David Boddie
87dd9b4374
Remove references to the removed theme classes
2019-08-02 17:04:16 +02:00
David Boddie
c7d5e8d152
Remove theme classes for future replacement
2019-08-02 17:04:16 +02:00
David Boddie
4cd15c074e
Merge branch 'fixes' into 'master'
...
Fixes
See merge request Librem5/squeekboard!115
2019-08-02 15:03:33 +00:00
David Boddie
9bfdabdf57
Merge branch 'textproperty' into 'master'
...
Removed text categories
See merge request Librem5/squeekboard!114
2019-08-02 14:36:41 +00:00
David Boddie
9375bc212b
Use keyboard's coordinate system to check for presses
2019-08-02 14:05:36 +00:00