kbd.h revision 162128
152506Simp/*
252506Simp * kbd.h
352506Simp */
452506Simp
552506Simp/*-
652506Simp * Copyright (c) 2006 Maksim Yevmenkin <m_evmenkin@yahoo.com>
752506Simp * All rights reserved.
852506Simp *
952506Simp * Redistribution and use in source and binary forms, with or without
1052506Simp * modification, are permitted provided that the following conditions
1152506Simp * are met:
1252506Simp * 1. Redistributions of source code must retain the above copyright
1352506Simp *    notice, this list of conditions and the following disclaimer.
1452506Simp * 2. Redistributions in binary form must reproduce the above copyright
1552506Simp *    notice, this list of conditions and the following disclaimer in the
1652506Simp *    documentation and/or other materials provided with the distribution.
1752506Simp *
1852506Simp * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
1952506Simp * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2052506Simp * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2152506Simp * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
2252506Simp * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2352506Simp * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2452506Simp * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2552506Simp * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2652506Simp * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2752506Simp * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2852506Simp * SUCH DAMAGE.
2952506Simp *
3052506Simp * $Id: kbd.h,v 1.3 2006/09/07 21:06:53 max Exp $
3152506Simp * $FreeBSD: head/usr.sbin/bluetooth/bthidd/kbd.h 162128 2006-09-07 21:47:49Z emax $
3252506Simp */
3352506Simp
3452506Simp#ifndef _KBD_H_
3552506Simp#define _KBD_H_
3652506Simp
3752506Simpint32_t	kbd_maxkey	  (void);
3852506Simpint32_t	kbd_process_keys  (bthid_session_p s);
3952506Simpint32_t	kbd_status_changed(bthid_session_p s, uint8_t *data, int32_t len);
4052506Simp
4152506Simp#endif /* ndef _KBD_H_ */
4252506Simp