Android UI overlay touch handling
This commit is contained in:
parent
97975a314d
commit
5795a77e7b
3 changed files with 45 additions and 15 deletions
|
|
@ -158,7 +158,9 @@ namespace vks
|
|||
{
|
||||
/* @brief Touch control thresholds from Android NDK samples */
|
||||
const int32_t DOUBLE_TAP_TIMEOUT = 300 * 1000000;
|
||||
const int32_t TAP_TIMEOUT = 180 * 1000000;
|
||||
const int32_t DOUBLE_TAP_SLOP = 100;
|
||||
const int32_t TAP_SLOP = 8;
|
||||
|
||||
/** @brief Density of the device screen (in DPI) */
|
||||
extern int32_t screenDensity;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue