1/** 2 * \file 3 * \brief Legacy keyboard driver. 4 */ 5 6/* 7 * Copyright (c) 2007, 2008, 2009, ETH Zurich. 8 * All rights reserved. 9 * 10 * This file is distributed under the terms in the attached LICENSE file. 11 * If you do not find this file, copies can be found by writing to: 12 * ETH Zurich D-INFK, Haldeneggsteig 4, CH-8092 Zurich. Attn: Systems Group. 13 */ 14 15#ifndef LPC_KBD_H 16#define LPC_KBD_H 17 18// these are implemented in lpc_kbd.c 19int drv_init(void); 20void send_mouse_cmd(uint8_t cmd); 21 22// XXX: these are actually callouts to other code 23void key_event(uint8_t scancode, bool extended); 24void mouse_event(int32_t xdelta, int32_t ydelta, 25 bool left, bool middle, bool right); 26void mouse_data(uint8_t val); 27void mouse_init(void); 28 29#endif 30