| 967 | int index = _keys->GetCurSel(); |
| 968 | if (index < 0) |
| 969 | { |
| 970 | return; |
| 971 | } |
| 972 | |
| 973 | _keys->CheckIgnoredKey(); |
| 974 | |
| 975 | auto& input = InputSubsystem::Instance(); |
| 976 | int count = 0; |
| 977 | int dik = -1; |
| 978 | // const AutoArray<int> keyList = _keys->GetKeys(index); |
| 979 | |
| 980 | if (!InputSubsystem::GetUserActionDesc()[index].axis) |
| 981 | { |
| 982 | for (int i = 0; i < 256; i++) |
| 983 | { |
| 984 | if (InputSubsystem::Instance().IsKeyPressed(static_cast<SDL_Scancode>(i))) |
| 985 | { |
| 986 | dik = i; |
| 987 | count++; |
| 988 | } |
| 989 | } |
| 990 | for (int i = 0; i < N_MOUSE_BUTTONS; i++) |
| 991 | { |
| 992 | if (i == 0) |
| 993 | { |
nothing calls this directly
no test coverage detected