diff options
| author | Teddy Wing | 2018-10-30 03:12:44 +0100 | 
|---|---|---|
| committer | Teddy Wing | 2018-10-30 03:12:44 +0100 | 
| commit | 330d3a0a70b2587e8e05dcddcc7c7991f12c825b (patch) | |
| tree | 662249bfc2cee1628abf8b9c2fde2d3bc80158be /src/key_code.rs | |
| parent | 7e0b19d4d962087b8c9be85c4f6bcd217ced7b71 (diff) | |
| download | dome-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
