Changeset aa2b32c in mainline for uspace/lib/c/include/io/pos_event.h
- Timestamp:
- 2013-04-29T12:44:05Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a269d05
- Parents:
- 06b0211b (diff), 9e7898e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/io/pos_event.h
r06b0211b raa2b32c 1 1 /* 2 * Copyright (c) 2008 Martin Decky 2 * Copyright (c) 2012 Petr Koupy 3 * Copyright (c) 2013 Jiri Svoboda 3 4 * All rights reserved. 4 5 * … … 27 28 */ 28 29 29 /** @addtogroup genarch30 /** @addtogroup libc 30 31 * @{ 31 32 */ … … 33 34 */ 34 35 35 #ifndef KERN_LOGO_196X66_H_36 #define KERN_LOGO_196X66_H_36 #ifndef LIBC_IO_POS_EVENT_H_ 37 #define LIBC_IO_POS_EVENT_H_ 37 38 38 #define LOGO_WIDTH 196 39 #define LOGO_HEIGHT 66 40 #define LOGO_COLOR 0xffffff 39 #include <sys/types.h> 41 40 42 #include <typedefs.h> 41 typedef enum { 42 POS_UPDATE, 43 POS_PRESS, 44 POS_RELEASE 45 } pos_event_type_t; 43 46 44 extern uint32_t fb_logo[LOGO_WIDTH * LOGO_HEIGHT]; 47 /** Positioning device event */ 48 typedef struct { 49 sysarg_t pos_id; 50 pos_event_type_t type; 51 sysarg_t btn_num; 52 sysarg_t hpos; 53 sysarg_t vpos; 54 } pos_event_t; 45 55 46 56 #endif
Note:
See TracChangeset
for help on using the changeset viewer.