dekuNukem / duckyPad

Do-It-All Mechanical Macropad

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

$_READKEY always reads 0 on 2020 Ducky pad

jupiterbjy opened this issue · comments

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