094aa872ce
Cleanups: fix deprecated g_type_class_add_private()
...
- use G_DECLARE_ and G_DEFINE_ macros
- move all data into ClassNamePrivate
- use _get_instance_private()
This should not introduce any functional changes or breakage.
Skipped two classes (EekKeyboard and EekboardContextService) for now in
order not to break the build.
These two classes are used in some very funky WIP code that tries to
circumvent encapsulation.
(Funky code is in eekboard/key-emitter.c and eekboard/eekboard-context-service.c)
2019-07-08 08:44:05 +02:00
ae5eaeec93
Fix an uninitialized-variable warning, and fixes gradients
2019-07-07 18:45:56 +02:00
0e8715b4ff
Improve key rendering and eliminate two deprecation warnings
...
- Replace two calls to deprecated gdk_cairo_create()
- Alleviate asymmetry between rendering pressed and released keys
by consistenly clipping the same area up front to avoid
artefacts
- make sure pressed and released keys are shown immediately by
calling gdk_window_invalidate_rect()
- improve consistency between render_(pressed|locked|released)_key
- improve code flow
2019-07-07 11:34:24 +02:00
d6f7c271e2
Merge branch 'kill-automake' into 'master'
...
Remove automake leftovers
See merge request Librem5/squeekboard!27
2019-07-04 18:26:24 +00:00
7a52080940
Remove automake leftovers
2019-07-04 14:51:00 +02:00
c1e1ddb73f
style: Fix right margin
...
For some reason, adjusting the width of the keyboard layout affects the margin when used at 360 width.
2019-07-04 08:27:37 +00:00
14887f9c99
layout: Change label for Level 3 modifier
2019-07-02 13:09:33 +00:00
654909261e
modifiers: Level 3 works
2019-07-02 13:03:35 +00:00
484eb3303c
modifiers: Seem to be emitted correctly
2019-07-02 11:52:45 +00:00
60250ca5e5
Merge branch 'font-size' into 'squeekboard'
...
hack: Adjust font size
See merge request Librem5/squeekboard!15
2019-07-01 15:41:10 +00:00
d729bb3a89
hack: Adjust font size
2019-07-01 15:27:06 +00:00
3a42e66504
layout: Position keys closer to the left edge
2019-07-01 12:57:52 +00:00
e46af41abf
layouts: Fixed spacing
2019-07-01 12:57:52 +00:00
17671a3b08
layout: Use outlines for key bounds
2019-07-01 12:57:52 +00:00
b8eb7752e7
layout: Using bigger keys
2019-07-01 12:57:52 +00:00
baf848c791
layout: Ignore keycodes without corresponding keys
2019-07-01 12:57:52 +00:00
050fd6f3ba
Touch support
...
Single stream of touch events.
2019-06-29 12:56:04 +00:00
9e5629d1e0
Enable Wayland's virtual-keyboard protocol
...
This commit includes a little restructuring necessary for keeping wayland objects properly.
It doesn't fix broken modifier functionality yet.
2019-06-25 18:12:15 +00:00
02525056d6
Removed X11 header, added some clarifications
2019-06-22 16:20:03 +00:00
5a6386dd24
Fixed rendering deprecation warnings
2019-06-22 13:13:55 +00:00
0809db9e32
Remove some rendering code with no effect and warnings
2019-06-22 12:56:33 +00:00
15a3315854
Fix dragging across the keyboard
2019-06-22 12:34:10 +00:00
82d1f256b2
Remove released and cancelled key events
2019-06-22 12:23:04 +00:00
e7ba2a0eb0
Got rid of signals in the pressed path
2019-06-19 17:00:30 +00:00
eff0449b3a
Redrawing key after press is happening directly
2019-06-19 16:51:57 +00:00
3b9e066ec8
Simplify key press handling
2019-06-19 16:05:37 +00:00
260ab42b9e
Forward press timestamps
2019-06-19 15:56:19 +00:00
a3d745edd0
Moved key pressing from context to keyboard
2019-06-19 15:27:29 +00:00
40a92fe730
Ignoring section.key-pressed
2019-06-19 14:11:23 +00:00
292c1d08d8
fixes: Minor type and include mismatches
2019-06-16 12:55:50 +00:00
5cc407986b
Ignore multi-clicks and non-left-buttons
2019-04-06 18:35:06 +00:00
b065b16bf1
Use layer shell
2019-04-05 15:39:57 +00:00
b817c6189d
build: Update keysym generator to Python3
2019-03-22 13:09:21 +00:00
8087c3e5d4
build: Use only meson for squeekboard
...
This breaks autoconf. The only resulting binary is the squeekboard GUI. It still needs the autotools-built eekboard client in order to do anything useful. That one needs to be built using a different branch, making this a WIP.
2019-03-15 20:59:29 +00:00
c71167d893
Fix out-of-tree build.
2012-10-01 11:55:00 +09:00
b5b59e77d6
Check errors when retrieving XKB layout information.
2012-04-24 11:58:41 +09:00
cce883808e
Simplify eek-xkb-layout.c.
2012-04-24 11:01:42 +09:00
8faae7ef08
Use git.mk.
2012-04-24 10:38:36 +09:00
4538ef38a1
Revert "Remove eek-xkb*."
...
This reverts commit ee12d02402 .
2012-04-24 10:06:09 +09:00
ee12d02402
Remove eek-xkb*.
2012-04-23 18:35:15 +09:00
7050fa41a0
G_CONST_RETURN -> const.
2012-04-23 17:09:48 +09:00
4a346211b8
Show tooltips.
2012-04-23 16:43:06 +09:00
6059146b42
Fix gobject-introspection annotation.
2012-04-13 16:44:41 +09:00
b8015bbef5
Simplify geometry XML format by folding row element.
2012-04-06 15:57:30 +09:00
03963036d1
Fix EekXklLayout initialization.
2012-04-02 10:38:14 +09:00
ab8cd246bf
Fix make distcheck.
2012-03-30 17:40:16 +09:00
6db99bee25
Don't enumerate over keys when find_by_keycode.
2012-03-28 14:43:49 +09:00
ee0505c100
Add keyboard selection dialog to preferences.
2012-03-28 12:54:22 +09:00
1943749cb6
Drop GTK2 support.
2012-03-23 18:07:05 +09:00
7eead1c1ff
Fix some mistakes.
2012-03-23 18:07:05 +09:00