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

Keyboard not working on macOS #334

Open
cpick opened this issue May 16, 2022 · 1 comment · May be fixed by renode/renode-infrastructure#68
Open

Keyboard not working on macOS #334

cpick opened this issue May 16, 2022 · 1 comment · May be fixed by renode/renode-infrastructure#68

Comments

@cpick
Copy link

cpick commented May 16, 2022

I'm running macOS Monterey.

If I emulate Precursor hardware running Xous:

~/src/xous-core$ mono64 ~/src/renode/output/bin/Release/Renode.exe -e 'logLevel 2' emulation/xous-release.resc

And then give focus to the "SoC:sysbus.memicd" window and press the a key twice, Renode logs:

20:24:50.8111 [WARNING] Unhandled keycode: a (4)

I believe this is because XWTEventSources HandleKey{Pressed,Released}() X11 scancode mapping is incorrect on macOS.

My specific versions:

$ sw_vers -productVersion
12.3.1
$ mono --version | head -1
Mono JIT compiler version 6.12.0.122 (2020-02/c621c35ffa0 Wed Feb 10 00:51:43 EST 2021)
$ git -C ~/src/xous-core remote get-url origin
https://github.com/betrusted-io/xous-core.git
$ git -C ~/src/xous-core rev-parse HEAD
867b0efdf2d116281a7c0830f3cf1efbcf0545fb
$ git -C ~/src/renode remote get-url origin
https://github.com/renode/renode.git
$ git -C ~/src/renode rev-parse HEAD
646ce4dab39bb35934310688ecbe5bbc179863a2
cpick pushed a commit to cpick/renode-infrastructure that referenced this issue May 16, 2022
@cpick cpick linked a pull request May 16, 2022 that will close this issue
cpick pushed a commit to cpick/renode-infrastructure that referenced this issue May 16, 2022
@mateusz-holenko
Copy link
Member

Hi @cpick, thanks for your contribution. I reviewed your code and added some small remarks, but generally it looks fine.

cpick pushed a commit to cpick/renode that referenced this issue Jul 2, 2024
cpick pushed a commit to cpick/renode-infrastructure that referenced this issue Jul 2, 2024
cpick pushed a commit to cpick/renode that referenced this issue Jul 2, 2024
cpick pushed a commit to cpick/renode-infrastructure that referenced this issue Jul 2, 2024
cpick pushed a commit to cpick/renode that referenced this issue Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants