[patch] add keymap data to make random laptop vendor keys work

Lennart Poettering mzuny at 0pointer.de
Mon Jun 4 11:58:18 PDT 2007


On Mon, 04.06.07 18:48, Richard Hughes (hughsient at gmail.com) wrote:

> hal-setup-keymap-hash-name.h:975: error: ???WWW??? undeclared (first use in
> this function)

OOps. Sorry.

Please replace as well this:

awk 'BEGIN{ print "struct key { const char* name; unsigned short id; };"; print "%null-strings"; print "%%";} { print $$1 ", " $$1 }' < $< > $@

with this:

awk 'BEGIN{ print "struct key { const char* name; unsigned short id; };"; print "%null-strings"; print "%%";} { print $$1 ", KEY_" $$1 }' < $< > $@

and you're done.

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net         ICQ# 11060553
http://0pointer.net/lennart/           GnuPG 0x1A015CC4


More information about the hal mailing list