aboutsummaryrefslogtreecommitdiff
path: root/console-client/xkb/xkb.c
Commit message (Collapse)AuthorAgeFilesLines
* xkb: Fix delete key in consoleDamien Zammit2024-10-281-1/+1
| | | | | | Adding the missing NULL sentinel pointer allows delete key to function without crashing pc_kbd driver. Message-ID: <20241028080849.3196116-1-damien@zamaudio.com>
* console-client: use xkbcommon instead of x11 for xkb extended supportEtienne Brateau2024-03-101-1174/+314
| | | | | | | | | | | | | | | | | | This allow to reduce the dependencies, only xkbcommon (keyboard support only) is required instead of the whole x11 library + lex + yacc. This replacement allow to reduce the code size, now features are handled by xkbcommon itself. The functionnalites remain the sames (actions are reimplemented but in the code directly as it’s impossible to add custom actions). The custom xkb data files are removed as we can now directly use the standard ones from xkeyboard-config. The configuration to launch the console keyboard modules changed to now directly configure the model+layout+variat+options directly. Tested by compiling with and without xkbcommon. Tested X11 (ran i3 correctly). Composing is still working. Message-ID: <20240309234838.31923-1-etienne.brateau@gmail.com>
* Add missing includeSamuel Thibault2024-02-041-0/+1
| | | | for va_start etc.
* console-client: Fix typos in commentsStefan Weil2015-01-031-3/+3
| | | | Signed-off-by: Stefan Weil <sw@weilnetz.de>
* Avoid compiler warning about empty bodiesJustus Winter2014-05-261-1/+2
| | | | | | | | | | | | | Make empty bodies of control flow statements more explicit. Doing so will allow us to use stricter compiler settings. This would have cought 4ece292c. * console-client/xkb/xkb.c: Make empty bodies more explicit * libpipe/pipe.c: Likewise. * mach-defpager/default_pager.c: Likewise. * pfinet/linux-src/net/ipv4/fib_hash.c: Likewise. * pflocal/connq.c: Likewise. * pflocal/socket.c: Likewise.
* Avoid redefinition of NoSymbol.Diego Nieto Cid2011-04-161-2/+0
| | | | | * console-client/xkb/xkb.c: Remove macro NoSymbol. * console-client/xkb/compose.c: Likewise.
* Cleanup.Diego Nieto Cid2011-04-161-7/+0
|
* Depend on X11 for string to keysym mappings.Diego Nieto Cid2011-04-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * config.make.in (HAVE_X11,X11_CFLAGS,X11_LIBS,XKB_BASE): New variables. * configure.in: Check for x11 module. * console-client/Makefile (PC_KBD_SO_SRCS): Move XKB sources... * console-client/Makefile (XKB_SRCS): ... here. New variable. * console-client/Makefile (SRCS): Add $(XKB_SRCS). * console-client/Makefile (LCLHDRS): Add xkb/xkb.h. * console-client/Makefile (XKB_DATA_DIR): Removed variable. * console-client/Makefile (pc_kbd.so.$(hurd-version)): Use patsubst. Depend on XKB objects when HAVE_X11 = yes. * console-client/Makefile (install): Depend on XKB datafiles when HAVE_X11 = yes. * console-client/Makefile (pc-kbd-CFLAGS): Set variable when HAVE_X11 = yes * console-client/Makefile ($(XKB_DATA_DIR),$(XKB_DATA_DIR)/%): Replaced by... * console-client/Makefile[HAVE_X11=yes]($(XKB_BASE),$(XKB_BASE)/%): ... this targets. * console-client/Makefile[HAVE_X11=yes](pc_kbd-LDLIBS): New variable. * console-client/xkb/keysymdef.h: Removed file. * console-client/xkb/ks_tables.h: Likewise. * console-client/xkb/symname.c: Likewise. * console-client/xkb/xkb.c: Include <X11/keysymdef.h>. * console-client/xkb/compose.c: Likewise. * console-client/xkb/xkb.h: Remove XStringToKeysym prototype. Include <X11/Xlib.h>.
* * console-client/xkb/xkb.c (iskeypad): Access up to 'width' symbols.Diego Nieto Cid2011-04-081-1/+1
|
* Remove obsolete variable declaration.Diego Nieto Cid2011-04-081-1/+0
|
* Use vfprintf in debug_printf and write to stderr.Diego Nieto Cid2011-04-081-1/+1
|
* Update key type assigment routine.Diego Nieto Cid2011-04-081-9/+27
|
* debian patch: 04_cleanups.patchDiego Nieto Cid2011-04-081-2/+4
|
* Use external encoding converter.Diego Nieto Cid2011-04-041-3/+3
| | | | * console-client/xkb/xkb.c (cd): Change storage class to extern.
* Export function to load the keaboard layout.Diego Nieto Cid2011-04-041-0/+15
| | | | | * console-client/xkb/xkb.c (xkb_load_layout): New function. * console-client/xkb/xkb.h (xkb_load_layout): Export prototype.
* Remove keyboard driver from XKB implementation.Diego Nieto Cid2011-04-041-506/+2
| | | | | | | | | * console-client/xkb/xkb.c (kbd_dev): Deleted variable. (gnumach_v1_compat, repeater_node,cnode, arguments): Likewise. (options, ctrlaltbs, argp, xkb_ops, driver_xkb_ops): Likewise. (gnumach_v1_input_next, read_scancode): Deleted functions. (input_loop, xkb_start, xkb_init, parse_opt): Likewise. (xkb_start, xkb_fini, xkb_set_scroll_lock_status): Likewise.
* Add XKB parser and implementation.Marco Gerards2011-03-171-0/+1859
* console-client/xkb/Compose: New file. * console-client/xkb/MISSING-FEATURES: Likewise. * console-client/xkb/README: Likewise. * console-client/xkb/TODO: Likewise. * console-client/xkb/compose.c: Likewise. * console-client/xkb/default.xkb: Likewise. * console-client/xkb/keysymdef.h: Likewise. * console-client/xkb/ks_tables.h: Likewise. * console-client/xkb/kstoucs.c: Likewise. * console-client/xkb/lex.l: Likewise. * console-client/xkb/makeconf.sh: Likewise. * console-client/xkb/parser.y: Likewise. * console-client/xkb/symname.c: Likewise. * console-client/xkb/xkb-data/keymap/hurd: Likewise. * console-client/xkb/xkb-data/symbols/hurd: Likewise. * console-client/xkb/xkb-data/types/hurd: Likewise. * console-client/xkb/xkb.c: Likewise. * console-client/xkb/xkb.h: Likewise. * console-client/xkb/xkbdata.c: Likewise. * console-client/xkb/xkbdefaults.c: Likewise. * console-client/xkb/xkbtimer.c: Likewise.