device/valio/button.h header reference
[Valio device attributes module]

The source code of this header can be browsed online.

Description [link] 

Value IO interface for a button

Members [link] 

Types [link] 

Members detail [link] 

#define LIBDEVICE_VALIO_BUTTON_H_ [link] 

This macro is declared in device/valio/button.h source file, line 27.

enum valio_button_att [link] 

This enum is declared in device/valio/button.h source file, line 37.

IdentifierDescription
VALIO_BUTTON_TOGGLEThis attribute is used only for DEVICE_VALIO_WAIT_EVENT request type. When used, the request callback will be called when button is toggled, pushed or released. Request must returns the time since last event on button in the timestamp field of data. If no measure of time is possible in driver 0 must be returned.
VALIO_BUTTON_PUSH
VALIO_BUTTON_RELEASE
VALIO_BUTTON_REPEAT_PUSH
VALIO_BUTTON_DELAYED_PUSH

struct valio_button_read_s [link] 

This struct is declared in device/valio/button.h source file, line 66.

FieldDescription
bool_t state;

enum valio_button_state [link] 

This enum is declared in device/valio/button.h source file, line 32.

IdentifierDescription
VALIO_BUTTON_PUSHED
VALIO_BUTTON_RELEASED

struct valio_button_update_s [link] 

This struct is declared in device/valio/button.h source file, line 55.

typedef void (*valio_push_button_event_t)(struct dev_valio_rq_s *rq) [link] 

This typedef is declared in device/valio/button.h source file, line 51.

Valid XHTML 1.0 StrictGenerated by diaxen on Thu Aug 4 15:44:06 2022 using MkDoc