mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-06 05:54:15 +00:00
27 lines
633 B
C
27 lines
633 B
C
/*
|
|
* \brief Input-driver interface
|
|
* \author Norman Feske
|
|
* \date 2007-10-08
|
|
*/
|
|
|
|
/*
|
|
* Copyright (C) 2007-2017 Genode Labs GmbH
|
|
*
|
|
* This file is part of the Genode OS framework, which is distributed
|
|
* under the terms of the GNU Affero General Public License version 3.
|
|
*/
|
|
|
|
#ifndef _DRIVERS__INPUT__SPEC__PS2__INPUT_DRIVER_H_
|
|
#define _DRIVERS__INPUT__SPEC__PS2__INPUT_DRIVER_H_
|
|
|
|
#include <event_session/client.h>
|
|
|
|
struct Input_driver : Genode::Interface
|
|
{
|
|
virtual void handle_event(Event::Session_client::Batch &) = 0;
|
|
|
|
virtual bool event_pending() const = 0;
|
|
};
|
|
|
|
#endif /* _DRIVERS__INPUT__SPEC__PS2__INPUT_DRIVER_H_ */
|