genode/repos/os/src/driver/ps2/input_driver.h
2024-06-20 12:54:30 +02:00

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_ */