mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-08-04 22:15:33 +02:00
Let all buttons repeat
This commit is contained in:
parent
b3b0d3c48f
commit
244421bac6
1 changed files with 3 additions and 0 deletions
|
@ -482,9 +482,12 @@ struct KbBinding : public Binding
|
||||||
|
|
||||||
bool sourceRepeatable() const
|
bool sourceRepeatable() const
|
||||||
{
|
{
|
||||||
|
return true;
|
||||||
|
/*
|
||||||
return (source >= SDL_SCANCODE_A && source <= SDL_SCANCODE_0) ||
|
return (source >= SDL_SCANCODE_A && source <= SDL_SCANCODE_0) ||
|
||||||
(source >= SDL_SCANCODE_RIGHT && source <= SDL_SCANCODE_UP) ||
|
(source >= SDL_SCANCODE_RIGHT && source <= SDL_SCANCODE_UP) ||
|
||||||
(source >= SDL_SCANCODE_F1 && source <= SDL_SCANCODE_F12);
|
(source >= SDL_SCANCODE_F1 && source <= SDL_SCANCODE_F12);
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
SDL_Scancode source;
|
SDL_Scancode source;
|
||||||
|
|
Loading…
Add table
Reference in a new issue