Skip to content
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

RcamMetadata Input Handle #7

Open
maowu opened this issue Dec 9, 2020 · 1 comment
Open

RcamMetadata Input Handle #7

maowu opened this issue Dec 9, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@maowu
Copy link

maowu commented Dec 9, 2020

I am testing button and knob for 9~15, but they don't work.

Then I found problem in the MakeInputState() & UpdateState() of InputHandle.cs.

fix button and toggle value array to solve this issue
_buttons[bit] ->_buttons[bit + i * 8]
_toggles[bit] -> _toggles[bit + i * 8]

here is fixed InputHandle.cs
InputHandle.cs.zip

@keijiro keijiro self-assigned this Dec 9, 2020
@keijiro keijiro added the bug Something isn't working label Dec 9, 2020
@keijiro
Copy link
Owner

keijiro commented Dec 10, 2020

Thanks for pointing it out. Your solution is right. I don't have time for fixing it at the moment, I'll do it when I get available time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants