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
Dorota Czaplejewicz
b2e9216920
build: Stricter type checks
2019-08-13 12:32:55 +00:00
Dorota Czaplejewicz
7972cb17cd
Merge branch 'do-not-pass-symbol-to-key-presses' into 'master'
...
Do not pass the symbol to the key emitter
See merge request Librem5/squeekboard!128
2019-08-13 12:28:15 +00:00
David Boddie
73d2505c89
Do not pass the symbol to the key emitter
2019-08-13 12:24:11 +00:00
Dorota Czaplejewicz
bdde8a127e
Merge branch 'update-create-key-virtual-function' into 'master'
...
Update create_key to match the function assigned to it
See merge request Librem5/squeekboard!127
2019-08-13 12:10:29 +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
Dorota Czaplejewicz
fb8e2ec4e7
Merge branch 'eekkey' into 'master'
...
Redesign how keys are handled
See merge request Librem5/squeekboard!117
2019-08-12 12:10:59 +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
David Boddie
6bbd8f6006
Use correct style for the design
2019-08-05 21:09:27 +00:00
David Boddie
cbdd72a4b6
Merge branch 'nolayout' into 'master'
...
Drop layout field on the keyboard
See merge request Librem5/squeekboard!122
2019-08-05 21:02:35 +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
Dorota Czaplejewicz
a6e220a2ae
Merge branch 'adjust-icon-scaling' into 'master'
...
Correct icon size for scaling
See merge request Librem5/squeekboard!121
2019-08-05 12:06:13 +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
Dorota Czaplejewicz
47eb25d07f
Merge branch 'use-css-provider' into 'master'
...
Use CSS provider instead of custom classes
See merge request Librem5/squeekboard!108
2019-08-04 10:21:22 +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