flixel-addons
flixel-addons copied to clipboard
FlxMouseControl only supports left clicks, not middle and right.
FlxMouseControl only looks at FlxG.mouse.pressed which indicates left mouse button clicks.
For right and middle button, there currently is the FlxG.mouse.pressedRight and the FlxG.mouse.pressedMiddle available. It'd be nice to have FlxMouseControl handle these buttons as well and let the callbacks have an event object parameter telling which button was pressed.
I'm interested in helping implement this.
It seems like the trick would be to keep the behavior the same as it is now until devs explicitly change their code to handle the other two buttons.