diff options
| author | 2021-11-17 12:58:02 +0000 | |
|---|---|---|
| committer | 2021-11-17 12:58:02 +0000 | |
| commit | 34d22b905ce4bdb199e07136d9547226ccde3de0 (patch) | |
| tree | eb3323aac04538c06ae6b88535af3baf23d27b95 /include/input/Input.h | |
| parent | b2c5839d133c74b40fa476fdfb0b1996f8d49ef7 (diff) | |
| parent | 6b430413d07b6afca1a4146ea91809567b5cfe9a (diff) | |
Merge "Change PointerController to display space"
Diffstat (limited to 'include/input/Input.h')
| -rw-r--r-- | include/input/Input.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/input/Input.h b/include/input/Input.h index 1e06257591..5242dcb476 100644 --- a/include/input/Input.h +++ b/include/input/Input.h @@ -201,6 +201,11 @@ namespace android { class Parcel; #endif +/* + * Apply the given transform to the point without applying any translation/offset. + */ +vec2 transformWithoutTranslation(const ui::Transform& transform, const vec2& xy); + const char* inputEventTypeToString(int32_t type); std::string inputEventSourceToString(int32_t source); |