genode/repos/os/src/driver/ps2/input_driver.h

27 lines
633 B
C
Raw Normal View History

2011-12-22 15:19:25 +00:00
/*
* \brief Input-driver interface
* \author Norman Feske
* \date 2007-10-08
*/
/*
* Copyright (C) 2007-2017 Genode Labs GmbH
2011-12-22 15:19:25 +00:00
*
* This file is part of the Genode OS framework, which is distributed
* under the terms of the GNU Affero General Public License version 3.
2011-12-22 15:19:25 +00:00
*/
#ifndef _DRIVERS__INPUT__SPEC__PS2__INPUT_DRIVER_H_
#define _DRIVERS__INPUT__SPEC__PS2__INPUT_DRIVER_H_
2011-12-22 15:19:25 +00:00
#include <event_session/client.h>
2011-12-22 15:19:25 +00:00
struct Input_driver : Genode::Interface
{
virtual void handle_event(Event::Session_client::Batch &) = 0;
2011-12-22 15:19:25 +00:00
virtual bool event_pending() const = 0;
2011-12-22 15:19:25 +00:00
};
#endif /* _DRIVERS__INPUT__SPEC__PS2__INPUT_DRIVER_H_ */