2011-12-22 15:19:25 +00:00
|
|
|
/*
|
|
|
|
* \brief Input-driver interface
|
|
|
|
* \author Norman Feske
|
|
|
|
* \date 2007-10-08
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
2017-02-20 12:23:52 +00:00
|
|
|
* 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
|
2017-02-20 12:23:52 +00:00
|
|
|
* under the terms of the GNU Affero General Public License version 3.
|
2011-12-22 15:19:25 +00:00
|
|
|
*/
|
|
|
|
|
2015-09-03 12:55:05 +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
|
|
|
|
2020-08-13 11:39:09 +00:00
|
|
|
#include <event_session/client.h>
|
2011-12-22 15:19:25 +00:00
|
|
|
|
2020-08-13 11:39:09 +00:00
|
|
|
struct Input_driver : Genode::Interface
|
|
|
|
{
|
|
|
|
virtual void handle_event(Event::Session_client::Batch &) = 0;
|
2011-12-22 15:19:25 +00:00
|
|
|
|
2020-08-13 11:39:09 +00:00
|
|
|
virtual bool event_pending() const = 0;
|
2011-12-22 15:19:25 +00:00
|
|
|
};
|
|
|
|
|
2015-09-03 12:55:05 +00:00
|
|
|
#endif /* _DRIVERS__INPUT__SPEC__PS2__INPUT_DRIVER_H_ */
|