kbdmux.c (162711) | kbdmux.c (171373) |
---|---|
1/* 2 * kbdmux.c 3 */ 4 5/*- 6 * Copyright (c) 2005 Maksim Yevmenkin <m_evmenkin@yahoo.com> 7 * All rights reserved. 8 * --- 14 unchanged lines hidden (view full) --- 23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28 * SUCH DAMAGE. 29 * 30 * $Id: kbdmux.c,v 1.4 2005/07/14 17:38:35 max Exp $ | 1/* 2 * kbdmux.c 3 */ 4 5/*- 6 * Copyright (c) 2005 Maksim Yevmenkin <m_evmenkin@yahoo.com> 7 * All rights reserved. 8 * --- 14 unchanged lines hidden (view full) --- 23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28 * SUCH DAMAGE. 29 * 30 * $Id: kbdmux.c,v 1.4 2005/07/14 17:38:35 max Exp $ |
31 * $FreeBSD: head/sys/dev/kbdmux/kbdmux.c 162711 2006-09-27 19:57:02Z ru $ | 31 * $FreeBSD: head/sys/dev/kbdmux/kbdmux.c 171373 2007-07-11 18:57:15Z emax $ |
32 */ 33 34#include "opt_compat.h" 35#include "opt_kbd.h" 36 37#include <sys/param.h> 38#include <sys/bus.h> 39#include <sys/conf.h> --- 741 unchanged lines hidden (view full) --- 781 keycode = 0x6d; 782 break; 783 case 0x5f: /* sleep key */ 784 keycode = 0x6e; 785 break; 786 case 0x63: /* wake key */ 787 keycode = 0x6f; 788 break; | 32 */ 33 34#include "opt_compat.h" 35#include "opt_kbd.h" 36 37#include <sys/param.h> 38#include <sys/bus.h> 39#include <sys/conf.h> --- 741 unchanged lines hidden (view full) --- 781 keycode = 0x6d; 782 break; 783 case 0x5f: /* sleep key */ 784 keycode = 0x6e; 785 break; 786 case 0x63: /* wake key */ 787 keycode = 0x6f; 788 break; |
789 case 0x64: /* [JP106USB] backslash, underscore */ 790 keycode = 0x73; 791 break; |
|
789 default: /* ignore everything else */ 790 goto next_code; 791 } 792 break; 793 case 0xE1: /* 0xE1 prefix */ 794 /* 795 * The pause/break key on the 101 keyboard produces: 796 * E1-1D-45 E1-9D-C5 --- 592 unchanged lines hidden --- | 792 default: /* ignore everything else */ 793 goto next_code; 794 } 795 break; 796 case 0xE1: /* 0xE1 prefix */ 797 /* 798 * The pause/break key on the 101 keyboard produces: 799 * E1-1D-45 E1-9D-C5 --- 592 unchanged lines hidden --- |