Closed yswallow closed 2 years ago
@yswallow Thank you for the PR. Unfortunately, it seems shift keys (KC_LSFT and KC_RSFT) cause unintentional inputs. This video capture shows the phenomenon. I literally pushed and released only a shift key on the video. I confirmed this issue with two different keyboards (GPK60-46W and SouthernCross). I'll continue to investigate though, let me inform you of this issue.
https://user-images.githubusercontent.com/8454208/203321830-49dcdfbe-e4e6-4cfe-aed6-2e54d656a96f.mp4
hmm.... It's not happen on Windows10 and Linux on prk_firmware-0.9.18-20221121-a09fbed.uf2.zip above.
And I can't build the newest because rake setup
does only showing steep -h
. ( rake
fails with Command failed with status (2): [ls src/ruby/test/tmp/hal/ > /dev/null 2>&1...]
. )
Can you provide that UF2?
@yswallow つ https://drive.google.com/file/d/1G3qIyEDF3RKdoQm9bau5Yf_vM81ydGIq/view?usp=share_link
Let me fix Rakefile...
OK, it reproduced. It may need some key-types. So my comment above is wrong.
I think this is happened by pointer failure: memories pointed by uint8_t *keyboard_keycodes
was overwritten.
I'll fix it.
Can you build & test this?
Will try it tonight, thanks!
@yswallow It is working for me! I'm now asking guys to confirm here https://github.com/picoruby/prk_firmware/issues/148#issuecomment-1324668459
BTW, I fixed Rakefile and pushed master branch. Try rake
when you have time
I did.
rake
failed with "cc.host_command
not found".
https://github.com/picoruby/mruby-pico-compiler/blob/master/mrbgem.rake#L204
So I removed cc.host_command ||
on the file, then the rake
worked.
@yswallow Sorry for that inconvenience again and again.
I did fix it. Should work this time.
You may need to rake deep_clean
once
It works! Thank you!
Fix #148
I checked this version works with iPhone 8.
prk_firmware-0.9.18-20221121-a09fbed.uf2.zip