10 #include <boost/exception/exception.hpp> 11 #include <boost/exception/info.hpp> 19 namespace duds {
namespace os {
namespace linux {
24 struct EvdevError :
virtual std::exception,
virtual boost::exception { };
67 typedef boost::error_info<struct Info_EvdevEventType, unsigned int>
73 typedef boost::error_info<struct Info_EvdevEventCode, unsigned int>
79 typedef boost::error_info<struct Info_EvdevEventType, std::string>
85 typedef boost::error_info<struct Info_EvdevEventCode, std::string>
91 typedef boost::error_info<struct Info_EvdevEventValue, std::int32_t>
The specified event type or code is not supported by the input device.
boost::error_info< struct Info_EvdevEventType, unsigned int > EvdevEventType
The event type integer involved in an EvdevError.
An attempt was made to add an event type to a device that cannot support the type, or the type is invalid.
The input device file could not be opened.
boost::error_info< struct Info_EvdevEventType, std::string > EvdevEventTypeName
The event type string involved in an EvdevError.
boost::error_info< struct Info_EvdevEventCode, std::string > EvdevEventCodeName
The event code string involved in an EvdevError.
boost::error_info< struct Info_EvdevEventCode, unsigned int > EvdevEventCode
The event code integer involved in an EvdevError.
An attempt was made to open a device file when one was already open.
Base class for errors from libevdev.
boost::error_info< struct Info_EvdevEventValue, std::int32_t > EvdevEventValue
The event value, usually an input value, involved in an EvdevError.
Initializing use of the input device failed.
An attempt was made to add an event code to a device that cannot support the code, or the code is invalid.