Read android config values [skip ci]

This commit is contained in:
saschawillems 2017-03-25 11:15:30 +01:00
parent 219da74df4
commit 9edc993bf9
4 changed files with 18 additions and 9 deletions

View file

@ -156,11 +156,17 @@ namespace vks
{
namespace android
{
/* @brief Touch control thresholds from Android NDK samples */
const int32_t DOUBLE_TAP_TIMEOUT = 300 * 1000000;
const int32_t DOUBLE_TAP_SLOP = 100;
/** @brief Density of the device screen (in DPI) */
extern int32_t screenDensity;
bool loadVulkanLibrary();
void loadVulkanFunctions(VkInstance instance);
void freeVulkanLibrary();
/** @brief Returns the density of the device screen (in DPI) */
int32_t getScreenDensity();
void getDeviceConfig();
}
}