fix(behavior): none should not be transparent
parent
7d8c0411d5
commit
cbea2d5bed
|
|
@ -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)
|
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)
|
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 = {
|
static const struct behavior_driver_api behavior_none_driver_api = {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue