New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android: Allow finger movement while pressing button #295
Conversation
|
You can just force-push (push -f) on top of your branch if there's something wrong with it. @dolphin-emu-bot rebuild |
|
Looks fine to me. |
|
Wouldn't that set the button as pressed even if the movement did not start on that same button? For example, swiping on all the buttons with this change would set all the buttons as pressed. Am I right? |
|
I see. Not familiar with the Android code at all, sorry. Now that I've read On Tue, Apr 22, 2014 at 3:49 AM, Sean notifications@github.com wrote:
Pierre "delroth" Bourdon delroth@gmail.com |
|
@delroth Actually, you were right, which is why I deleted my comment. Fix incoming. |
Now, your finger can still move around, but as soon as it leaves the button boundaries the button is released.
|
I would add braces to the if and else statements. Especially with a comment of that size in the else case. IMO no brace if statements should only be used if only one line of code will sit after the if or else and nothing else. (sorry for the nitpick) |
|
@lioncash Fine with me. |
|
err... sorry to be that guy again, but we use brace on the next line. protip: You can roll back to the previous commit to do changes with Now say I want to roll back to "Some very minor cleanup to the logging window code", I hit the i key on my keyboard and change it to the following: Then I hit escape and type Now we get: There, we're successfully rolled back to that commit! So now you can make whatever changes you want to the source file you were working on, then do Then just push your changes with Just figured I'd tell you how to do this in case you didn't know. |
|
@lioncash I'll get right on it. (Or not, my OS X terminal likes to glitch out for whatever reason) |
|
Nice, thanks :) Looks all good now. |
|
LGTM. |
Android: Allow finger movement while pressing button
Expose the "Speed Up Disc Transfer Rate" option



Previously when pressing an on-screen button, as soon as your finger moved the slightest, the button would be released. This made it very hard to hold buttons down. With this patch, the button will stay pressed until you let go.
Resubmitted because the previous PR changed the permission of the file due to whatever I did to cause it.