Merge pull request #132 from BrainWart/behavior/none

fix(behavior): none should not be transparent
This commit is contained in:
Pete Johanson 2020-08-27 23:25:49 -04:00 committed by GitHub
commit 6cd46b9504
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -23,12 +23,12 @@ static int behavior_none_init(struct device *dev)
static int on_keymap_binding_pressed(struct device *dev, u32_t position, u32_t _param1, u32_t _param2)
{
return 1;
return 0;
}
static int on_keymap_binding_released(struct device *dev, u32_t position, u32_t _param1, u32_t _param2)
{
return 1;
return 0;
}
static const struct behavior_driver_api behavior_none_driver_api = {