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

$_READKEY always reads 0 on 2020 Ducky pad #144

Open
jupiterbjy opened this issue Aug 29, 2023 · 0 comments
Open

$_READKEY always reads 0 on 2020 Ducky pad #144

jupiterbjy opened this issue Aug 29, 2023 · 0 comments

Comments

@jupiterbjy
Copy link

HW/SW details

  • duckyPad(2020)

  • Serial DP20_75346319

  • Firmware 1.3.0

  • Configurator 1.4.0

  • autoswitcher 0.0.7

  • Win11 x64 Education


Issue

From document:

$_READKEY (RO)

Get the key that is being pressed.
Returns 0 if no key is pressed. 1 to 17 otherwise.

However with following:

OLED_CLEAR
OLED_CURSOR 0 0
OLED_PRINT $_READKEY
OLED_UPDATE

Regardless of saving $_READKEY value to other variable or not, it will always return 0.

(keycap intentionally rotated as I use duckypad horizontally)

image

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

No branches or pull requests

1 participant