summaryrefslogtreecommitdiff
path: root/libcaribou/key-model.vala
Commit message (Collapse)AuthorAgeFilesLines
* Fix build with newer valac versionsRico Tzschichholz2021-01-201-1/+1
| | | | Fixes https://gitlab.gnome.org/GNOME/caribou/issues/7
* Allow to overwrite the label in the keyboard layout.Raphael Freudiger2014-11-121-1/+1
| | | | | | | | | | Currently some buttons do only have its name as label. This is not always useful. I.e. for the dead-keys the label is often only "dead". In some keyboard layout it is preferred to have a symbol as label. This allows to overwrite the default label in the keyboard layout. https://bugzilla.gnome.org/show_bug.cgi?id=739837
* Add label to all keysRaphael Freudiger2014-11-091-4/+23
| | | | | | | | | | | Some keys do not have a label, so one has to guess what it does. Do the following for keys we do not have a label yet. First, try to find a label for dead keys by looking for the label of the non-dead key. Second, if no label is found use the key name as a label. https://bugzilla.gnome.org/show_bug.cgi?id=739526
* Add more keys to label_mapRaphael Freudiger2014-11-071-1/+9
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=739716
* libcaribou: factor out X dependencyDaiki Ueno2013-08-091-2/+2
| | | | | | | This patch adds a new abstract class DisplayAdapter to handle multiple display backends, other than X. https://bugzilla.gnome.org/show_bug.cgi?id=705720
* Make key repeat work againDaiki Ueno2013-04-221-4/+14
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=690435
* Add valadoc comment to each public class.Daiki Ueno2012-12-301-0/+5
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=687244
* key-model: Use key-released instead of key-clicked to hide subkeysRui Matos2012-11-261-3/+3
| | | | | | | | | | | This allows users to insert subkeys with a single button press/release pair by pressing on the main key, then moving and releasing while hovering the subkey. Also, emit key-released instead of key-clicked on the main key since that is a better model of what is really happening. https://bugzilla.gnome.org/show_bug.cgi?id=688656
* libcaribou: refactor some codeDaiki Ueno2012-11-221-2/+0
| | | | | | | | Use Gee lists and hashtables extensively instead of GLib's; specify proper cname to libxklavier signals to avoid using a static signal handler; remove unnecessary "using". https://bugzilla.gnome.org/show_bug.cgi?id=688517
* Port label string construction code to libcaribouDaiki Ueno2012-10-311-0/+43
| | | | | | | Move the key label construction code from Antler to libcaribou and also handle the "text" attribute of key. https://bugzilla.gnome.org/show_bug.cgi?id=656175
* xml: add "text" attribute to keyDaiki Ueno2012-10-301-4/+21
| | | | | | | Add a new attribute "text" to the key elements in XML, so that text producing keys such as ".com" can be implemented. https://bugzilla.gnome.org/show_bug.cgi?id=687026
* Add Ctrl/Alt functionalityEitan Isaacson2011-07-181-15/+75
| | | | Based on a patch by Nohemi Fernandez <nf68@cornell.edu>.
* abolish margin and use alignEitan Isaacson2011-06-221-1/+1
|
* Removed Json loader and replaced with XML loader.Eitan Isaacson2011-06-221-2/+1
|
* Change key press/release to 200 ms.Eitan Isaacson2011-06-081-1/+1
|
* Revert "libcaribou: Use GLib.List instead of arrays"Eitan Isaacson2011-06-021-11/+9
| | | | | | gjs learned to cope with arrays. Let's not introduce GLists, Vala hates them. This reverts commit 33f0c869983b390ae4ba53c60f6cb17389c6739d.
* libcaribou: Use GLib.List instead of arraysEitan Isaacson2011-06-021-9/+11
|
* Implement Caribou_RepeatEitan Isaacson2011-06-011-4/+7
|
* Aggregate button activation signals.Eitan Isaacson2011-06-011-4/+4
|
* Added IKeyboardObject interface, and have all model classes implement it.Eitan Isaacson2011-06-011-1/+12
|
* Implement scannable interfaces in keyboard model.Eitan Isaacson2011-05-281-1/+17
|
* Add Column model. Use Gee collections (I give up).Eitan Isaacson2011-05-281-6/+7
|
* libcaribou: Implemented CaribouKeyboardModel.Eitan Isaacson2011-05-021-0/+71