Skip to content

USBHIDKeyboard print function does not reliably output uppercase characters #7578

Closed
@dbhaig

Description

@dbhaig

Board

ESP32-S3-WROOM1

Device Description

ESP32-S3-DevKitC-1

Hardware Configuration

SPI TFT is connected to GPIOs 13, 14, 15, 16, 21, 35, 36, 47

Version

v2.0.5

IDE Name

arduino-cli 0.29

Operating System

Linux

Flash frequency

40MHz

PSRAM enabled

no

Upload speed

921600

Description

Keyboard.println("abcdefghijklmnopqrstuvwxyz");
Gives the expected output of: 'abcdefghijklmnopqrstuvwxyz'

Keyboard.println("ABCDEFGHIJKLOMNPQRSTUVWXYZ");
Gives an output with some characters lower case, such as:
'abCdEFGHIjklOMNPQRStUvwXYZ'
or
' aBcdeFGHIjKLOMNPQrsTuVWXYz'

Sketch

#include "USB.h"
#include "USBHIDKeyboard.h"

USBHIDKeyboard Keyboard;

void setup() {
    Serial.begin(9600);
    Serial.println("Keyboard begin");

    Keyboard.begin();
    USB.begin();
}

void loop() {
    Keyboard.println("abcdefghijklmnopqrstuvwxyz");
    delay(2000);
    Keyboard.println("ABCDEFGHIJKLOMNPQRSTUVWXYZ");
    delay(2000);
}

Debug Message

None

Other Steps to Reproduce

No

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions