Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs

DragonRuby Game Toolkit

An intuitive 2D game engine. Fast, xplat, tiny, hot loaded. · By DragonRuby

Identify the button that triggers mouse click / up / down event

A topic by ZereoX created 29 days ago Views: 45 Replies: 1
Viewing posts 1 to 2
(2 edits)

Is there a way to identify or specify which button triggers a mouse click / up / down event (button1, button2, button3)? (similar to keyboard and controllers. ie inputs.keyboard.key_down.[KEY])

Developer(+2)

Adding right click and mouse wheel is a todo. We’re very close to supporting touch devices, so we’ll address “all the buttons and fingers” with a  generalized approach.