mirror of
https://github.com/love2d/love.git
synced 2026-08-18 11:44:15 +02:00
Updated the new module changes to use more compile/link-time checking rather than runtime checking.
This commit is contained in:
@@ -244,9 +244,11 @@ public:
|
||||
KEY_MAX_ENUM = 512
|
||||
};
|
||||
|
||||
Keyboard();
|
||||
virtual ~Keyboard() {}
|
||||
|
||||
// Implements Module.
|
||||
virtual ModuleType getModuleType() const { return M_KEYBOARD; }
|
||||
|
||||
/**
|
||||
* Sets whether repeat keypress events should be sent if a key is held down.
|
||||
* Does not affect text input events.
|
||||
|
||||
Reference in New Issue
Block a user