Changeset b7fd2a0 in mainline for uspace/lib/c/include/io/input.h
- Timestamp:
- 2018-01-13T03:10:29Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a53ed3a
- Parents:
- 36f0738
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/io/input.h
r36f0738 rb7fd2a0 48 48 49 49 typedef struct input_ev_ops { 50 int (*active)(input_t *);51 int (*deactive)(input_t *);52 int (*key)(input_t *, kbd_event_type_t, keycode_t, keymod_t, wchar_t);53 int (*move)(input_t *, int, int);54 int (*abs_move)(input_t *, unsigned, unsigned, unsigned, unsigned);55 int (*button)(input_t *, int, int);50 errno_t (*active)(input_t *); 51 errno_t (*deactive)(input_t *); 52 errno_t (*key)(input_t *, kbd_event_type_t, keycode_t, keymod_t, wchar_t); 53 errno_t (*move)(input_t *, int, int); 54 errno_t (*abs_move)(input_t *, unsigned, unsigned, unsigned, unsigned); 55 errno_t (*button)(input_t *, int, int); 56 56 } input_ev_ops_t; 57 57 58 extern int input_open(async_sess_t *, input_ev_ops_t *, void *, input_t **);58 extern errno_t input_open(async_sess_t *, input_ev_ops_t *, void *, input_t **); 59 59 extern void input_close(input_t *); 60 extern int input_activate(input_t *);60 extern errno_t input_activate(input_t *); 61 61 62 62 #endif
Note:
See TracChangeset
for help on using the changeset viewer.