Commit Graph

127 Commits

Author SHA1 Message Date
e5648a82a3 Remove explicit keycodes in XML, auto-generate them instead
This makes it easier to keep the geometry and symbols files in sync.
2019-07-16 14:00:41 +02:00
f834edcf94 Merge branch 'fix-compiler-warnings' into 'master'
Fix use of inappropriate type

See merge request Librem5/squeekboard!69
2019-07-13 19:47:40 +00:00
17802a9408 Fix use of inappropriate type 2019-07-13 18:36:59 +02:00
62b1c2ba84 Revert to latch behavior for letters 2019-07-12 19:54:21 +00:00
c85638be4d Use a dummy, non-emitting key to switch views 2019-07-11 19:38:02 +00:00
07c25d1d91 Improve view behavior to more closely reflect #38 2019-07-11 16:29:26 +00:00
47041b0fac Implement basic keyboard views
Use existing concepts of levels and modifier latches and locks to
implement the three view design of issue #38.

The use of a lock to switch from letter to numbers and a latch to
handle upper and lower case has side effects, but these can be
addressed in a future commit.
2019-07-10 23:33:45 +00:00
f79b5dadbb Use a macro to declare a type with private data 2019-07-09 00:41:25 +02:00
484eb3303c modifiers: Seem to be emitted correctly 2019-07-02 11:52:45 +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
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
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
6059146b42 Fix gobject-introspection annotation. 2012-04-13 16:44:41 +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
7eead1c1ff Fix some mistakes. 2012-03-23 18:07:05 +09:00
f442733b33 Fix some mistakes.
* remove useless g_obect_{set,get}_property call.
* free GError on error.
2012-03-16 18:15:50 +09:00
f72e9f5293 Copy pressed_keys list before sending released/cancelled signal (RHBZ#737396). 2011-09-12 11:06:52 +09:00
099ca60975 Update doc comments. 2011-08-25 10:31:41 +09:00
a6bde78168 Highlight locked modifiers. 2011-08-22 14:44:46 +09:00
052c40cc26 Remove serialization code for EekKey, EekSection, and EekKeyboard. 2011-08-18 12:00:54 +09:00
6a7b256676 Remove unnecessary null initialization. 2011-08-18 11:31:01 +09:00
b6beeedc26 Improve key-repeat behavior. 2011-08-16 16:30:13 +09:00
de62d74ac5 Fix GTK-DOC comments. 2011-04-22 14:41:29 +09:00
048fccd6e0 Use GEnumTypes. 2011-03-23 17:25:29 +09:00
881bf34ec4 Handle the case when both shift and altgr keys are pressed. 2011-03-11 13:11:05 +09:00
39a59fb049 Serialize alt_gr_mask. 2011-03-10 18:23:49 +09:00
d57ae91995 Move level change logic from key-pressed to key-released handler. 2011-03-07 14:39:35 +09:00
98e15d7741 Resolve AltGr modifier at run time. 2011-03-04 10:42:31 +09:00
09c95b20da Add "Destroy" D-Bus signal to server for debug. 2011-03-03 16:36:10 +09:00
8b632356e9 Fix memleaks. 2011-03-03 15:05:59 +09:00
f7caf6fe49 Handle Num_Lock correctly (RHBZ#680826). 2011-03-02 15:44:35 +09:00
b2657c06a8 Move symbol-index property per-element instead of per-keyboard. 2011-03-02 11:47:09 +09:00
d7554b9735 Doc fix. 2011-02-24 11:43:15 +09:00
798df5c136 Use g_intern_static_string for signal names. 2011-02-24 10:37:48 +09:00
66bfa4da1d Fix GI annotation. 2011-02-18 14:03:19 +09:00
7916930160 Implement serialization to GVariant. 2011-02-14 14:13:02 +09:00
c9c9a3297b Coding style fix. 2011-02-01 16:54:31 +09:00
da4552c61c Use 0 as fallback group, instead of -1. 2011-02-01 07:31:20 +09:00
879c50a6b8 Fix typo. 2011-01-28 21:17:01 +09:00
b004a92e8a Fix EEK_MODIFIER_BEHAVIOR_LATCH when pressing Shift twice. 2011-01-28 16:55:01 +09:00
e6df7d90fe Use GObject instead of guint to represent keysyms. 2011-01-28 16:19:18 +09:00
880ba76bd8 Update copyright year. 2011-01-27 16:58:59 +09:00
b811796bbc Finish XML layout engine. 2011-01-27 16:27:06 +09:00
4accb1e952 Doc fix. 2011-01-26 12:50:22 +09:00