aboutsummaryrefslogtreecommitdiffstats
path: root/src/key_code.rs
diff options
context:
space:
mode:
authorTeddy Wing2018-10-30 03:12:44 +0100
committerTeddy Wing2018-10-30 03:12:44 +0100
commit330d3a0a70b2587e8e05dcddcc7c7991f12c825b (patch)
tree662249bfc2cee1628abf8b9c2fde2d3bc80158be /src/key_code.rs
parent7e0b19d4d962087b8c9be85c4f6bcd217ced7b71 (diff)
downloaddome-key-map-330d3a0a70b2587e8e05dcddcc7c7991f12c825b.tar.bz2
parser::map_group(): Use default `MapGroup` as a base
This means that if any of `<Up>`, `<Play>`, or `<Down>` are undefined in the mappings file definition, they will be set to their default action values (as set in `MapGroup::default()`). To get rid of the default, map the button trigger to `<Nop>`. Update a test that didn't map `<Up>` to give it the default mapping.
Diffstat (limited to 'src/key_code.rs')
0 files changed, 0 insertions, 0 deletions