duckyPad icon indicating copy to clipboard operation
duckyPad copied to clipboard

$_READKEY always reads 0 on 2020 Ducky pad

Open jupiterbjy opened this issue 1 year ago • 0 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

jupiterbjy avatar Aug 29 '23 15:08 jupiterbjy