Read android config values [skip ci]
This commit is contained in:
parent
219da74df4
commit
9edc993bf9
4 changed files with 18 additions and 9 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue