mirror of
https://github.com/X11Libre/xf86-input-keyboard.git
synced 2026-03-24 01:14:04 +00:00
Make OpenKeyboard() warn instead of error out.
This way we can still setup keyboard map manually by xmodmap(1) etc. on less well supported ports. >From Izumi Tsutsui <tsutsui@NetBSD.org> Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
This commit is contained in:
committed by
Gaetan Nadon
parent
e511907a5f
commit
d61dcfd5c2
@@ -432,10 +432,10 @@ OpenKeyboard(InputInfoPtr pInfo)
|
||||
break;
|
||||
#endif
|
||||
default:
|
||||
xf86Msg(X_ERROR, "%s: Unsupported wskbd type \"%d\"",
|
||||
pInfo->name, pKbd->wsKbdType);
|
||||
close(pInfo->fd);
|
||||
return FALSE;
|
||||
xf86Msg(X_WARNING, "%s: Unsupported wskbd type \"%d\"\n",
|
||||
pInfo->name, pKbd->wsKbdType);
|
||||
printWsType("Unknown wskbd", pInfo->name);
|
||||
break;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user