Skip to content

Commit 3ccb7b3

Browse files
committed
Add function stubs for the new gamepad callbacks
1 parent 55cf45d commit 3ccb7b3

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

Screen.lua

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,24 @@ function Screen.new()
9595

9696
function self:wheelmoved() end
9797

98+
function self:gamepadaxis() end
99+
100+
function self:gamepadpressed() end
101+
102+
function self:gamepadreleased() end
103+
104+
function self:joystickadded() end
105+
106+
function self:joystickaxis() end
107+
108+
function self:joystickhat() end
109+
110+
function self:joystickpressed() end
111+
112+
function self:joystickreleased() end
113+
114+
function self:joystickremoved() end
115+
98116
return self;
99117
end
100118

0 commit comments

Comments
 (0)