Let all buttons repeat

This commit is contained in:
Struma 2021-03-01 14:25:38 -05:00 committed by Roza
parent b3b0d3c48f
commit 244421bac6

View file

@ -482,9 +482,12 @@ struct KbBinding : public Binding
bool sourceRepeatable() const
{
return true;
/*
return (source >= SDL_SCANCODE_A && source <= SDL_SCANCODE_0) ||
(source >= SDL_SCANCODE_RIGHT && source <= SDL_SCANCODE_UP) ||
(source >= SDL_SCANCODE_F1 && source <= SDL_SCANCODE_F12);
*/
}
SDL_Scancode source;