Closed hailiang194 closed 6 months ago
Hi, currently we have SekaiEngine::Input::IsButtonPressed
for check if the mouse button is clicked. However, we have forgotten to implement the flags for mouse button so you can use raw value of raylib for the key flags because you can't access directly to raylib
here the flags
MOUSE_BUTTON_LEFT = 0, // Mouse button left
MOUSE_BUTTON_RIGHT = 1, // Mouse button right
MOUSE_BUTTON_MIDDLE = 2, // Mouse button middle (pressed wheel)
MOUSE_BUTTON_SIDE = 3, // Mouse button side (advanced mouse device)
MOUSE_BUTTON_EXTRA = 4, // Mouse button extra (advanced mouse device)
MOUSE_BUTTON_FORWARD = 5, // Mouse button forward (advanced mouse device)
MOUSE_BUTTON_BACK = 6, // Mouse button back (advanced mouse device)
We're gonna update it in next update. Thank you!
Good morning, those flags has been updated in v0.1.0. Check it out
As what I written in the title. Who can I know that?