Skip to content

Issue with Keyboard.h library #769

Closed
@dbhaig

Description

@dbhaig

Bug Report

Current behavior

#include <Keyboard.h>
void setup() {
}
void loop() {
}
arduino-cli compile
/home/don/test/test.ino:1:10: fatal error: Keyboard.h: No such file or directory
 #include <Keyboard.h>
          ^~~~~~~~~~~~

Tried to install library:

arduino-cli lib install Keyboard
Keyboard depends on [email protected]
Downloading [email protected]...
[email protected] downloaded                                                                                                                             
Installing [email protected]...
Error installing name:"Keyboard" versionRequired:"1.0.2" : extracting archive: Read the zip file: zip: not a valid zip file

Expected behavior

Sketch compiles using Arduino IDE

Environment

  • CLI version (output of arduino-cli version):

arduino-cli Version: 0.11.0 Commit: 0296f4d

  • OS and platform:

Linux 4.4.0-184-generic #214-Ubuntu SMP Thu Jun 4 10:14:11 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Additional context

Sketch compiles using the Arduino IDE

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: imperfectionPerceived defect in any part of project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions