Age | Commit message (Collapse) | Author |
|
Fixes [YOCTO #13319]
Signed-off-by: Mingde (Matthew) Zeng <matthew.zeng@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
If a key has a modifier then on release we have to redraw the whole keyboard
because on release the modifier is reset, so the kbd layout changes. The
Caps modifier is an exception, since it stays in place until it is explicitely
cancelled, but we were still scheduling a full redraw; if the user drags a
finger across the kbd and the HW is not fast enough to keep up with the
redraws, this becomes rather obvious.
|
|
Only check for long press for the unshifted -> shifted transition, for
shifted -> unshifted do just normal processing
Signed-off-by: Tomas Frydrych <tomas@sleepfive.com>
|
|
Patch by Wim Crols
|
|
|
|
If the KeySym is in the upper case range, force the SHIFT flag, if it is
in the lower case range, forcibly clear the flag.
|
|
If a kbd layout contains a capital letter that is not part of the server
keyboard map, we need to propagate associated shift state to libfakey
to ensure that a synthetic event is generated for the Shift key; without
this the keyevent will not have the keyboard state set correctly, which
might result in the lower case peer symbol emerging in the application.
|
|
|
|
Make long press on the shift key behave like a caps lock
(Only implemented for the GtkWidget at the moment; the only reason for
this is I can't be bothered to implement a timeout function ...)
|
|
* Adds a popup above the key on press (except for modifiers)
* With the exception of Backspace, keys only generate key events on
release (this means no autorepeat)
|
|
* Refactor things, so that instead of various globals we have per-
widget data
* Implement object tear down
|
|
TODO: the colours should be easier to customize
|
|
|
|
* src/matchbox-keyboard-key.c:
Dont set uneeded shift flag in libfakekey (Daniel Willmann)
git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-keyboard@1675 b067294f-1dea-0310-9683-c47a78595994
|
|
* configure.ac:
* layouts/keyboard.xml:
* src/Makefile.am:
* src/config-parser.c: (config_handle_key_subtag):
* src/matchbox-keyboard-image.c:
* src/matchbox-keyboard-key.c: (mb_kbd_key_set_image_face):
* src/matchbox-keyboard-ui-xft-backend.c:
(mb_kbd_ui_xft_redraw_key):
* src/matchbox-keyboard-ui.c: (mb_kdb_ui_unit_key_size),
(mb_kbd_ui_min_key_size):
* src/matchbox-keyboard.h:
Add initial support for defineable PNG images on keys.
Keys with images sizing a little borked atm.
git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-keyboard@1341 b067294f-1dea-0310-9683-c47a78595994
|
|
* AUTHORS:
Populate.
* Makefile.am:
* configure.ac:
* src/Makefile.am:
Fix cairo build issues,
* src/matchbox-keyboard-xembed.c:
Add XEMBED support for embedding keyboard in other apps.
* examples/Makefile.am:
* examples/matchbox-keyboard-embbed.c:
Add example embedding app
* src/config-parser.c: (config_str_to_keysym),
(config_str_to_modtype), (config_xml_start_cb):
* src/matchbox-keyboard-key.c: (mb_kbd_key_get_extended),
(mb_kbd_key_set_row), (mb_kdb_key_has_state),
(mb_kbd_key_set_glyph_face), (mb_kbd_key_get_glyph_face),
(mb_kbd_key_set_image_face), (mb_kbd_key_set_char_action),
(mb_kbd_key_press):
* src/matchbox-keyboard-layout.c:
* src/matchbox-keyboard-row.c:
* src/matchbox-keyboard-ui-cairo-backend.c:
(mb_kbd_ui_cairo_text_extents), (mb_kbd_ui_cairo_load_font),
(mb_kbd_ui_cairo_redraw_key), (mb_kbd_ui_cairo_pre_redraw),
(mb_kbd_ui_cairo_resources_create), (mb_kbd_ui_cairo_resize),
(mb_kbd_ui_cairo_init):
* src/matchbox-keyboard-ui-cairo-backend.h:
* src/matchbox-keyboard-ui-xft-backend.c:
(mb_kbd_ui_xft_text_extents), (mb_kbd_ui_xft_redraw_key),
(mb_kbd_ui_xft_resources_create), (mb_kbd_ui_xft_resize),
(mb_kbd_ui_xft_init):
* src/matchbox-keyboard-ui-xft-backend.h:
* src/matchbox-keyboard-ui.c: (get_current_window_manager_name),
(get_desktop_area), (get_xevent_timed),
(mb_kbd_ui_send_keysym_press), (mb_kbd_ui_send_release),
(mb_kdb_ui_unit_key_size), (mb_kbd_ui_min_key_size),
(mb_kbd_ui_redraw_row), (mb_kbd_ui_swap_buffers),
(mb_kbd_ui_redraw), (mb_kbd_ui_resources_create),
(mb_kbd_ui_resize), (mb_kbd_ui_event_loop), (mb_kbd_ui_realize),
(mb_kbd_ui_init):
* src/matchbox-keyboard.c: (mb_kbd_new):
* src/matchbox-keyboard.h:
* src/util.c: (util_utf8_char_cnt), (util_file_readable):
Fix GCC 4 Warnings.
Add License to all files.
Improve buggy cairo backend and add gradient keys
git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-keyboard@1266 b067294f-1dea-0310-9683-c47a78595994
|
|
git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-keyboard@1132 b067294f-1dea-0310-9683-c47a78595994
|
|
git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-keyboard@1116 b067294f-1dea-0310-9683-c47a78595994
|
|
git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-keyboard@1115 b067294f-1dea-0310-9683-c47a78595994
|
|
git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-keyboard@1114 b067294f-1dea-0310-9683-c47a78595994
|
|
git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-keyboard@1113 b067294f-1dea-0310-9683-c47a78595994
|
|
git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-keyboard@1110 b067294f-1dea-0310-9683-c47a78595994
|
|
git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-keyboard@1108 b067294f-1dea-0310-9683-c47a78595994
|
|
git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-keyboard@1107 b067294f-1dea-0310-9683-c47a78595994
|
|
git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-keyboard@1103 b067294f-1dea-0310-9683-c47a78595994
|
|
git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-keyboard@1099 b067294f-1dea-0310-9683-c47a78595994
|