Go to the source code of this file.
|
| #define | __vsf_input_touchscreen_set6(__evt, __id, __is_down, __pressure, __x, __y) |
| |
| #define | __vsf_input_touchscreen_set7(__evt, __id, __is_down, __pressure, __x, __y, __xy_valid) |
| |
| #define | vsf_input_touchscreen_set(__evt, __id, __is_down, __pressure, __x, __y, ...) |
| |
| #define | vsf_input_touchscreen_get_id(__evt) |
| |
| #define | vsf_input_touchscreen_is_down(__evt) |
| |
| #define | vsf_input_touchscreen_get_x(__evt) |
| |
| #define | vsf_input_touchscreen_get_y(__evt) |
| |
| #define | vsf_input_touchscreen_get_pressure(__evt) |
| |
| #define | vsf_input_touchscreen_is_xy_valid(__evt) |
| |
◆ __vsf_input_touchscreen_set6
| #define __vsf_input_touchscreen_set6 |
( |
| __evt, |
|
|
| __id, |
|
|
| __is_down, |
|
|
| __pressure, |
|
|
| __x, |
|
|
| __y ) |
Value:
__evt, __id, __is_down, __pressure, __x, __y, true)
◆ __vsf_input_touchscreen_set7
| #define __vsf_input_touchscreen_set7 |
( |
| __evt, |
|
|
| __id, |
|
|
| __is_down, |
|
|
| __pressure, |
|
|
| __x, |
|
|
| __y, |
|
|
| __xy_valid ) |
Value: do { \
(__evt)->id = ((__id) | (!!(__is_down) << 8)); \
(__evt)->cur.valu64 = (__x) | ((__y) << 16) \
} while (0)
unsigned long long uint64_t
Definition stdint.h:11
◆ vsf_input_touchscreen_set
| #define vsf_input_touchscreen_set |
( |
| __evt, |
|
|
| __id, |
|
|
| __is_down, |
|
|
| __pressure, |
|
|
| __x, |
|
|
| __y, |
|
|
| ... ) |
Value: __PLOOC_EVAL(__vsf_input_touchscreen_set, \
(__evt), (__id), (__is_down), (__pressure), (__x), (__y), ##__VA_ARGS__) \
((__evt), (__id), (__is_down), (__pressure), (__x), (__y), ##__VA_ARGS__)
◆ 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))
◆ vsf_input_touchscreen_is_xy_valid
| #define vsf_input_touchscreen_is_xy_valid |
( |
| __evt | ) |
|
Value: (!!(((__evt)->cur.valu64 >> 48) & 1))
◆ 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 | |