diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-01-26 21:40:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-01-27 02:22:56 +0300 |
commit | 3a19b08078d42837126cc585d2a9b6f5f61b2c2b (patch) | |
tree | 400122420df75e178cb7d52cfd2f67cd12d394a8 /src/input/inputactionmap.h | |
parent | 4a6e5d83cd39dfde59d273b9be79cd76c685a8e9 (diff) | |
download | manaplus-3a19b08078d42837126cc585d2a9b6f5f61b2c2b.tar.gz manaplus-3a19b08078d42837126cc585d2a9b6f5f61b2c2b.tar.bz2 manaplus-3a19b08078d42837126cc585d2a9b6f5f61b2c2b.tar.xz manaplus-3a19b08078d42837126cc585d2a9b6f5f61b2c2b.zip |
Add quick shortcuts for add selected item to each craft inventory slot.
Add craft tab with shortcuts in input tab.
Diffstat (limited to 'src/input/inputactionmap.h')
-rw-r--r-- | src/input/inputactionmap.h | 99 |
1 files changed, 99 insertions, 0 deletions
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index b187b63b0..f76e8cb53 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -5086,6 +5086,105 @@ static const InputActionData inputActionData "skill|useskill", UseArgs_true, Protected_false}, + {"keyCraftShortcut1", + emptyKey, + emptyKey, + Input::GRP_DEFAULT, + &Actions::craftKey, + InputAction::NO_VALUE, 100, + InputCondition::NOMODAL | InputCondition::NOAWAY + | InputCondition::NONPCINPUT, + "", + UseArgs_false, + Protected_true}, + {"keyCraftShortcut2", + emptyKey, + emptyKey, + Input::GRP_DEFAULT, + &Actions::craftKey, + InputAction::NO_VALUE, 100, + InputCondition::NOMODAL | InputCondition::NOAWAY + | InputCondition::NONPCINPUT, + "", + UseArgs_false, + Protected_true}, + {"keyCraftShortcut3", + emptyKey, + emptyKey, + Input::GRP_DEFAULT, + &Actions::craftKey, + InputAction::NO_VALUE, 100, + InputCondition::NOMODAL | InputCondition::NOAWAY + | InputCondition::NONPCINPUT, + "", + UseArgs_false, + Protected_true}, + {"keyCraftShortcut4", + emptyKey, + emptyKey, + Input::GRP_DEFAULT, + &Actions::craftKey, + InputAction::NO_VALUE, 100, + InputCondition::NOMODAL | InputCondition::NOAWAY + | InputCondition::NONPCINPUT, + "", + UseArgs_false, + Protected_true}, + {"keyCraftShortcut5", + emptyKey, + emptyKey, + Input::GRP_DEFAULT, + &Actions::craftKey, + InputAction::NO_VALUE, 100, + InputCondition::NOMODAL | InputCondition::NOAWAY + | InputCondition::NONPCINPUT, + "", + UseArgs_false, + Protected_true}, + {"keyCraftShortcut6", + emptyKey, + emptyKey, + Input::GRP_DEFAULT, + &Actions::craftKey, + InputAction::NO_VALUE, 100, + InputCondition::NOMODAL | InputCondition::NOAWAY + | InputCondition::NONPCINPUT, + "", + UseArgs_false, + Protected_true}, + {"keyCraftShortcut7", + emptyKey, + emptyKey, + Input::GRP_DEFAULT, + &Actions::craftKey, + InputAction::NO_VALUE, 100, + InputCondition::NOMODAL | InputCondition::NOAWAY + | InputCondition::NONPCINPUT, + "", + UseArgs_false, + Protected_true}, + {"keyCraftShortcut8", + emptyKey, + emptyKey, + Input::GRP_DEFAULT, + &Actions::craftKey, + InputAction::NO_VALUE, 100, + InputCondition::NOMODAL | InputCondition::NOAWAY + | InputCondition::NONPCINPUT, + "", + UseArgs_false, + Protected_true}, + {"keyCraftShortcut9", + emptyKey, + emptyKey, + Input::GRP_DEFAULT, + &Actions::craftKey, + InputAction::NO_VALUE, 100, + InputCondition::NOMODAL | InputCondition::NOAWAY + | InputCondition::NONPCINPUT, + "", + UseArgs_false, + Protected_true}, }; #undef defaultAction |