profile/ivi/libxkbcommon.git
15 years agoInitial implementation of keysym handlers
Dan Nicholson [Tue, 20 Jan 2009 15:46:12 +0000 (07:46 -0800)]
Initial implementation of keysym handlers

Add the xkbcommon implementations of XKeysymToString and XStringToKeysym.
These symbols have the namespace prefix of Xkbc and are declared in
X11/XkbCommon.h.

The implementation is taken directly from Xlib, but does not include the
XKeysymDB parsing and hashing yet (if it ever will). A couple type
conversions were needed to keep from using Xlib.h. See original files:

libX11/src/KeysymStr.c
libX11/src/StrKeysym.c

15 years agomakekeys: Handle XF86XK_ keysyms in addition to XK_ keysyms
Dan Nicholson [Fri, 16 Jan 2009 15:28:30 +0000 (07:28 -0800)]
makekeys: Handle XF86XK_ keysyms in addition to XK_ keysyms

15 years agoGenerate keysym tables from X and XF86 keysym definitions
Dan Nicholson [Thu, 15 Jan 2009 02:00:10 +0000 (18:00 -0800)]
Generate keysym tables from X and XF86 keysym definitions

The keysym hash table ks_tables.h is generated by makekeys from
keysymdef.h and XF86keysym.h.

15 years agoks_tables: Remove table-specific #ifdefs and add header guard
Dan Nicholson [Thu, 15 Jan 2009 02:07:06 +0000 (18:07 -0800)]
ks_tables: Remove table-specific #ifdefs and add header guard

Since we'll be including ks_tables.h in a single file, we don't need to
make parts conditional. A header guard has been added just to be safe.

15 years agomakekeys: Coding style cleanup
Dan Nicholson [Thu, 19 Mar 2009 17:59:32 +0000 (10:59 -0700)]
makekeys: Coding style cleanup

Mostly tab-to-space conversion, but a couple other nits, too.

15 years agoAdd makekeys for creating keysym hash tables
Dan Nicholson [Wed, 14 Jan 2009 15:35:10 +0000 (07:35 -0800)]
Add makekeys for creating keysym hash tables

The makekeys utility is used to generate the keysym hash tables during
the build. We try to detect a build machine native compiler so the
tables can be generated when cross compiling.

15 years agoInitial autotools commit
Dan Nicholson [Wed, 14 Jan 2009 02:25:35 +0000 (18:25 -0800)]
Initial autotools commit