Keymapper WIP:

* Further improvement of automatic mapping
* Remap dialog - added timeout feature

svn-id: r33827
This commit is contained in:
Stephen Kennedy 2008-08-13 14:33:17 +00:00
parent 532faef82b
commit 17c1dba992
5 changed files with 93 additions and 32 deletions

View file

@ -50,7 +50,7 @@ void Action::mapKey(const HardwareKey *key) {
assert(_parent);
if (_hwKey) _parent->unregisterMapping(this);
_hwKey = key;
if (_hwKey) _parent->registerMapping(this, key);
if (_hwKey) _parent->registerMapping(this, _hwKey);
}
const HardwareKey *Action::getMappedKey() const {