1*25d3b9e7Sdholland /* $NetBSD: kbdreg.h,v 1.8 2015/09/07 03:49:45 dholland Exp $ */ 2ec77f0b3Scgd 333e84123Smw /* 4bdb2629dSmw * losely based on: 5bdb2629dSmw * 6bdb2629dSmw * Copyright (c) 1992, 1993 7bdb2629dSmw * The Regents of the University of California. All rights reserved. 8bdb2629dSmw * 9bdb2629dSmw * This software was developed by the Computer Systems Engineering group 10bdb2629dSmw * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and 11bdb2629dSmw * contributed to Berkeley. 12bdb2629dSmw * 13bdb2629dSmw * All advertising materials mentioning features or use of this software 14bdb2629dSmw * must display the following acknowledgement: 15bdb2629dSmw * This product includes software developed by the University of 16bdb2629dSmw * California, Lawrence Berkeley Laboratory. 1733e84123Smw * 1833e84123Smw * Redistribution and use in source and binary forms, with or without 1933e84123Smw * modification, are permitted provided that the following conditions 2033e84123Smw * are met: 2133e84123Smw * 1. Redistributions of source code must retain the above copyright 2233e84123Smw * notice, this list of conditions and the following disclaimer. 2333e84123Smw * 2. Redistributions in binary form must reproduce the above copyright 2433e84123Smw * notice, this list of conditions and the following disclaimer in the 2533e84123Smw * documentation and/or other materials provided with the distribution. 26aad01611Sagc * 3. Neither the name of the University nor the names of its contributors 2733e84123Smw * may be used to endorse or promote products derived from this software 2833e84123Smw * without specific prior written permission. 2933e84123Smw * 3033e84123Smw * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 3133e84123Smw * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 3233e84123Smw * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 3333e84123Smw * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 3433e84123Smw * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 3533e84123Smw * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 3633e84123Smw * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 3733e84123Smw * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 3833e84123Smw * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 3933e84123Smw * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 4033e84123Smw * SUCH DAMAGE. 4133e84123Smw * 42bdb2629dSmw * @(#)kbio.h 8.1 (Berkeley) 6/11/93 43bdb2629dSmw * 44ec77f0b3Scgd * Header: kbio.h,v 1.4 92/11/26 01:16:32 torek Exp (LBL) 4533e84123Smw */ 4633e84123Smw 47*25d3b9e7Sdholland #include <sys/ioccom.h> 48*25d3b9e7Sdholland 49bdb2629dSmw #define KIOCTRANS _IOW('k', 0, int) /* set translation mode */ 50bdb2629dSmw /* (we only accept TR_UNTRANS_EVENT) */ 51bdb2629dSmw #define KIOCGTRANS _IOR('k', 5, int) /* get translation mode */ 52bdb2629dSmw #define KIOCSDIRECT _IOW('k', 10, int) /* keys to console? */ 5333e84123Smw 54bdb2629dSmw #define TR_UNTRANS_EVENT 3 55