xref: /netbsd-src/sys/dev/wscons/linux_keymap.h (revision 66995669d3d42fc1ec3e00f79c1b3e3808125c90)
1*66995669Sjmcneill /* $NetBSD: linux_keymap.h,v 1.2 2017/08/31 19:55:43 jmcneill Exp $ */
2fd3aded8Sjmcneill 
3fd3aded8Sjmcneill /*-
4fd3aded8Sjmcneill  * Copyright (c) 2017 Jared McNeill <jmcneill@invisible.ca>
5fd3aded8Sjmcneill  * All rights reserved.
6fd3aded8Sjmcneill  *
7fd3aded8Sjmcneill  * Redistribution and use in source and binary forms, with or without
8fd3aded8Sjmcneill  * modification, are permitted provided that the following conditions
9fd3aded8Sjmcneill  * are met:
10fd3aded8Sjmcneill  * 1. Redistributions of source code must retain the above copyright
11fd3aded8Sjmcneill  *    notice, this list of conditions and the following disclaimer.
12fd3aded8Sjmcneill  * 2. Redistributions in binary form must reproduce the above copyright
13fd3aded8Sjmcneill  *    notice, this list of conditions and the following disclaimer in the
14fd3aded8Sjmcneill  *    documentation and/or other materials provided with the distribution.
15fd3aded8Sjmcneill  *
16fd3aded8Sjmcneill  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
17fd3aded8Sjmcneill  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
18fd3aded8Sjmcneill  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
19fd3aded8Sjmcneill  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
20fd3aded8Sjmcneill  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
21fd3aded8Sjmcneill  * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
22fd3aded8Sjmcneill  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
23fd3aded8Sjmcneill  * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
24fd3aded8Sjmcneill  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25fd3aded8Sjmcneill  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26fd3aded8Sjmcneill  * SUCH DAMAGE.
27fd3aded8Sjmcneill  */
28fd3aded8Sjmcneill 
29fd3aded8Sjmcneill #ifndef _WSCONS_LINUX_KEYMAP_H
30fd3aded8Sjmcneill #define _WSCONS_LINUX_KEYMAP_H
31fd3aded8Sjmcneill 
32fd3aded8Sjmcneill #include <dev/wscons/wsksymvar.h>
33fd3aded8Sjmcneill 
34*66995669Sjmcneill uint8_t linux_key_to_usb(u_int);
35fd3aded8Sjmcneill 
36fd3aded8Sjmcneill #endif /* !_WSCONS_LINUX_KEYMAP_H */
37