Go to the source code of this file.
◆ vsf_input_touchscreen_set
| #define vsf_input_touchscreen_set |
( |
| __evt, |
|
|
| __id, |
|
|
| __is_down, |
|
|
| __pressure, |
|
|
| __x, |
|
|
| __y ) |
Value: do { \
(__evt)->id = ((__id) | (!!(__is_down) << 8)); \
(__evt)->cur.valu64 = (__x) | ((__y) << 16) | ((
uint64_t)(__pressure) << 32);\
} while (0)
unsigned long long uint64_t
Definition stdint.h:11
◆ vsf_input_touchscreen_get_id
| #define vsf_input_touchscreen_get_id |
( |
| __evt | ) |
|
Value: ((
uint8_t)(((__evt)->id >> 0) & 0xFF))
unsigned char uint8_t
Definition stdint.h:5
◆ vsf_input_touchscreen_is_down
| #define vsf_input_touchscreen_is_down |
( |
| __evt | ) |
|
Value: (!!(((__evt)->id >> 8) & 0xFF))
◆ vsf_input_touchscreen_get_x
| #define vsf_input_touchscreen_get_x |
( |
| __evt | ) |
|
Value: ((
uint16_t)(((__evt)->cur.valu64 >> 0) & 0xFFFF))
unsigned short uint16_t
Definition stdint.h:7
◆ vsf_input_touchscreen_get_y
| #define vsf_input_touchscreen_get_y |
( |
| __evt | ) |
|
Value: ((
uint16_t)(((__evt)->cur.valu64 >> 16) & 0xFFFF))
◆ vsf_input_touchscreen_get_pressure
| #define vsf_input_touchscreen_get_pressure |
( |
| __evt | ) |
|
Value: ((
uint16_t)(((__evt)->cur.valu64 >> 32) & 0xFFFF))
◆ vk_touchscreen_info_t
| typedef struct vk_touchscreen_info_t vk_touchscreen_info_t |
◆ vk_touchscreen_evt_t
| typedef struct vk_touchscreen_evt_t vk_touchscreen_evt_t |
◆ anonymous enum
| Enumerator |
|---|
| VSF_INPUT_TYPE_TOUCHSCREEN | |