mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-02-05 13:28:16 +00:00
st/oxr: Make sure action keys don't start at zero
This commit is contained in:
parent
2db3df9027
commit
2337299279
|
@ -114,7 +114,7 @@ oxr_action_set_create(struct oxr_logger* log,
|
|||
struct oxr_action_set** out_act_set)
|
||||
{
|
||||
// Mod music for all!
|
||||
static uint32_t key_gen = 0;
|
||||
static uint32_t key_gen = 1;
|
||||
|
||||
//! @todo Implement more fully.
|
||||
struct oxr_action_set* act_set = NULL;
|
||||
|
@ -162,7 +162,7 @@ oxr_action_create(struct oxr_logger* log,
|
|||
struct oxr_sub_paths sub_paths = {0};
|
||||
|
||||
// Mod music for all!
|
||||
static uint32_t key_gen = 0;
|
||||
static uint32_t key_gen = 1;
|
||||
|
||||
oxr_classify_sub_action_paths(log, inst,
|
||||
createInfo->countSubactionPaths,
|
||||
|
|
Loading…
Reference in a new issue