aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-kkbd.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* add xmemdup macroMattias Andrée2014-12-101-2/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* with a few exceptions and some remaining files, never return directly on failure, always goto fail by invoking fail_ifMattias Andrée2014-12-081-90/+112
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* rename pfail to failMattias Andrée2014-12-081-4/+4
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* no more goto failMattias Andrée2014-12-081-5/+4
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* replace all goto pfail with fail_if, so that we can take whence it failedMattias Andrée2014-12-081-4/+3
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* whitespaceMattias Andrée2014-11-281-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* that is not necessaryMattias Andrée2014-09-091-1/+0
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-09-091-4/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* set danger in mds-base's receive_dangerMattias Andrée2014-09-081-19/+0
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* derp, danger is volatile and atomicMattias Andrée2014-09-081-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* take care of some dangerMattias Andrée2014-09-081-4/+29
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* move reconnect_to_display todo into todo fileMattias Andrée2014-09-081-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* derpMattias Andrée2014-08-241-5/+5
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* message id is unsigned 32-bitMattias Andrée2014-08-241-14/+14
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m + do not any assumtion of int typedefsMattias Andrée2014-08-241-4/+4
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* vt protocolsMattias Andrée2014-08-221-0/+3
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add todo for kkbd on what to free on dangerMattias Andrée2014-08-201-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add sigdanger supportMattias Andrée2014-08-201-1/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* ignore empty lines when parsing remap tableMattias Andrée2014-08-131-8/+15
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* keycodes not be larger than 2¹⁴Mattias Andrée2014-08-131-3/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kkbd: announce new keyboard when startingMattias Andrée2014-08-131-2/+9
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* implement keycode mapping queryMattias Andrée2014-08-131-10/+57
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-08-131-10/+34
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-08-131-11/+6
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* implement protocol for remapping the keyboardMattias Andrée2014-08-131-7/+226
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kkbd: miscMattias Andrée2014-08-131-6/+106
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* miscMattias Andrée2014-08-131-13/+143
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* derpMattias Andrée2014-08-121-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kkbd: m + handle_set_keyboard_ledsMattias Andrée2014-08-121-13/+73
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kkbd: receive message and validate headersMattias Andrée2014-08-121-6/+195
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* update todo + keyboard protocolsMattias Andrée2014-08-121-3/+0
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-08-121-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* miscMattias Andrée2014-08-121-18/+97
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* miscMattias Andrée2014-08-111-38/+157
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add fork_for_safety option + beginning of kernel-based keyboardMattias Andrée2014-08-111-0/+509
Signed-off-by: Mattias Andrée <maandree@operamail.com>