I have a project using a Raptor. I’m working on getting a mouse to work properly for the project. I need a larger screen than a 7" (New Haven).
I added the code below and here’s what happens
When I connect the mouse and start the controller, the mouse isn’t recognized. The MouseConnected event doesn’t fire. If I unplug the mouse and re-plug it in, the event then fires.
The mouse ButtonChanged event fires but neither does the cursor_moved or wheel_moved events.
There isn’t any movement on the screen. When I interrogate the mouse position in ButtonChanged it’s always at 0,0. And how do I get a cursor to appear on the screen?
Do you meant the mouse cursor like mouse on PC?
Mouse class doesn’t draw it for you, it just provide position x,y when you moved the mouse. You have to draw it.
The same behavior, the mouse isn’t initially recognized unless I unplug it and re-plug it in and the only code the events respond to is the button press.
We just ran simple code and all event work very well with all mouses we have.
Try a different mouse if trying my code below still doesn’t work
Tested on both socket 6,7 raptor, 4.3.8.0 - SDK 2016 Pre1
You have to excuse them thar folks in the US of A, they can’t even spell or pronounce ALUMINIUM for starters. They even had Scotty on the Enterprise using the US version