Skip to content

Commit 8ba138a

Browse files
committed
hac: forgot the handle function
1 parent 9a5ce3d commit 8ba138a

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

platform/hac/include/modules/joystick/Joystick.hpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,11 @@ namespace love
6161

6262
virtual ConnectionType getConnectionState() const override;
6363

64+
virtual ptrdiff_t getHandle() const override
65+
{
66+
return (ptrdiff_t)std::addressof(this->state);
67+
}
68+
6469
using JoystickBase::getConstant;
6570

6671
virtual void update()

0 commit comments

Comments
 (0)