Add in ability to redefine keybinds. Keybinds currently do not translate to actual key controls (?) Replaced all 2023 copyright references with 2024, fix copyright symbols.
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
This commit is contained in:
@@ -539,8 +539,12 @@ const InputEngageGroup InputEngageGroup::operator=(const InputEngageGroup&rhs){
|
||||
|
||||
|
||||
void InputGroup::RemovePrimaryKeybind(InputType type){
|
||||
std::erase(keyOrder.front());
|
||||
keyOrder.erase(keyOrder.begin());
|
||||
}
|
||||
void InputGroup::AddPrimaryKeybind(InputType type){
|
||||
|
||||
void InputGroup::AddPrimaryKeybind(Input key){
|
||||
keyOrder.insert(keyOrder.begin(),{key.GetType(),key.key});
|
||||
}
|
||||
void InputGroup::SetNewPrimaryKeybind(Input key){
|
||||
RemovePrimaryKeybind(key.GetType());
|
||||
AddPrimaryKeybind(key);
|
||||
}
|
||||
Reference in New Issue
Block a user