1137868Semax/* 2137868Semax * kbd.h 3162128Semax */ 4162128Semax 5162128Semax/*- 6162128Semax * Copyright (c) 2006 Maksim Yevmenkin <m_evmenkin@yahoo.com> 7137868Semax * All rights reserved. 8137868Semax * 9137868Semax * Redistribution and use in source and binary forms, with or without 10137868Semax * modification, are permitted provided that the following conditions 11137868Semax * are met: 12137868Semax * 1. Redistributions of source code must retain the above copyright 13137868Semax * notice, this list of conditions and the following disclaimer. 14137868Semax * 2. Redistributions in binary form must reproduce the above copyright 15137868Semax * notice, this list of conditions and the following disclaimer in the 16137868Semax * documentation and/or other materials provided with the distribution. 17137868Semax * 18137868Semax * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 19137868Semax * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 20137868Semax * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 21137868Semax * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 22137868Semax * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 23137868Semax * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 24137868Semax * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 25137868Semax * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 26137868Semax * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 27137868Semax * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28137868Semax * SUCH DAMAGE. 29137868Semax * 30162128Semax * $Id: kbd.h,v 1.3 2006/09/07 21:06:53 max Exp $ 31137868Semax * $FreeBSD: releng/10.2/usr.sbin/bluetooth/bthidd/kbd.h 162128 2006-09-07 21:47:49Z emax $ 32137868Semax */ 33137868Semax 34137868Semax#ifndef _KBD_H_ 35137868Semax#define _KBD_H_ 36137868Semax 37162128Semaxint32_t kbd_maxkey (void); 38162128Semaxint32_t kbd_process_keys (bthid_session_p s); 39162128Semaxint32_t kbd_status_changed(bthid_session_p s, uint8_t *data, int32_t len); 40137868Semax 41137868Semax#endif /* ndef _KBD_H_ */ 42