Add Colemak and Dvorak options to the sysinst keyboard layout menu. They can
not simply be added to the KB_ENC_FUN table in sys/dev/wscons/wsksymdef.h because it doesn't allow for multiple variants of the same layout. PR#31399.
This commit is contained in:
parent
ec3a8384e6
commit
cdef44cd09
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: wskbd.c,v 1.6 2008/04/29 06:53:01 martin Exp $ */
|
||||
/* $NetBSD: wskbd.c,v 1.7 2008/09/03 08:52:36 ghen Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2003 The NetBSD Foundation, Inc.
|
||||
@ -30,7 +30,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__RCSID("$NetBSD: wskbd.c,v 1.6 2008/04/29 06:53:01 martin Exp $");
|
||||
__RCSID("$NetBSD: wskbd.c,v 1.7 2008/09/03 08:52:36 ghen Exp $");
|
||||
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
@ -62,6 +62,8 @@ static const struct kb_types kb_types[] = {
|
||||
#define KB_sysinst(tag, tagf, value, cc, ccf, country) \
|
||||
{tag | tagf, cc ccf, country},
|
||||
KB_ENC_FUN(KB_sysinst)
|
||||
{KB_US | KB_COLEMAK, "us" ".colemak", "US-Colemak"},
|
||||
{KB_US | KB_DVORAK, "us" ".dvorak", "US-Dvorak"}
|
||||
};
|
||||
|
||||
static int
|
||||
|
Loading…
Reference in New Issue
Block a user