32 const std::string &name()
const;
37 spimpl::impl_ptr<KeyEventPrivate> impl;
The KeyEvent class represents a Scratch key event.
Definition keyevent.h:15
KeyEvent(Type type=Type::Any)
Definition keyevent.cpp:11
const std::string & name() const
Definition keyevent.cpp:29
friend bool operator==(const KeyEvent &ev1, const KeyEvent &ev2)
Definition keyevent.h:34
Type
Definition keyevent.h:18
@ Down
Definition keyevent.h:24
@ Up
Definition keyevent.h:22
@ Right
Definition keyevent.h:23
@ Left
Definition keyevent.h:21
@ Space
Definition keyevent.h:20
@ Any
Definition keyevent.h:19
@ Enter
Definition keyevent.h:25
#define LIBSCRATCHCPP_EXPORT
Definition global.h:17
The main namespace of the library.
Definition asset.h:10