26 button_pressed_publisher.publish({
this, position, button});
31 button_released_publisher.publish({
this, position, button});
36 this->position = position;
37 moved_publisher.publish({
this, position,
difference});
42 scrolled_publisher.publish({
this, position, velocity});
constexpr int difference(T x, T y) noexcept
Returns the number of differing bits between two values, known as Hamming distance.
@ position
Vertex position (vec3)