[CCLCC] Keyboard controls unresponsive in Tips menu fix.#485
Conversation
0f65732 to
ac2f884
Compare
|
Can you check if it's not rather just a matter of modifying to |
It will work. It works even without changing |
|
I want to take a look at this a little bit more and see if it's an issue with a missing pad to kb mapping or if it's something we should actually be hard codong in our menu |
I also noticed, that even without any changes, if you will hold W/S(also arrows) key, it will trigger fast scrolling. |
Okay, I checked. It's an issue with a missing pad to kb mapping. You can scroll Note text with F/R. So, I guess, we should add something like this to |
ac2f884 to
984a80c
Compare
|
Oh I think I figured out the issue. Basically the mappings are all fine, it's just the implementation of UpdatePADHoldInput isn't correct. The arrow direct keys are supposed to only work when held, not single taps, and tipsmenu is supposed to use the repeat functions, so those are all fine, but since we aren't supposed to set InputButtonWentDown and only InputButtonIsDown, InputButtonRepeatDown doesn't work correctly. UpdatePADHoldInput isn't supposed to use WentDown at all and only use IsDown |
984a80c to
8a4a952
Compare
Done, if I understood you correctly. |
|
Would probably need to keep track of previous frame's buttonisdown as a replacement for wentdown |
|
Oh i just saw your commit, that should work |
This done by |
This PR will fix keyboard controls being unresponsive in CCLCC Tips menu (Issue #483).