Skip to content

SourceCode error in MouseController Example #1163

Closed
@kuhnm

Description

@kuhnm

On a Due in teh IDE 1.5.1r2 there is an error in the MouseController sample of the UsbHost. When compiling I get
MouseController.ino: In function 'void mouseReleased()':
MouseController:66: error: 'left' was not declared in this scope
MouseController:70: error: 'middle' was not declared in this scope
MouseController:74: error: 'right' was not declared in this scope
The three variables should be leftButton, middleButton, rightButton like in the rest of the source code.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions