|
Forum Index : Microcontroller and PC projects : Hope for F4 mouse with all basic code?
| Author | Message | ||||
| lizby Guru Joined: 17/05/2016 Location: United StatesPosts: 3478 |
What I'd like is a pixel-pointing device such as vegipete uses in his missle-control-like CMM2 game, Green Hills #2. I've scanned through the CMM2 mouse threads from before matherp incorporated mouse control into the firmware, but I haven't located all of the pieces. By "all basic code" I don't mean not having something like TassyJim's arduino translator hardware if needed--just that MMBasic code using interrupts will handle the incoming signals. So my questions are, what does PS/2 mouse output look like, what code goes into the arduino, what MMBasic user code handles what is received? I'm not anticipating that the editor would use the mouse, just that a programmer wishing quickly to point to and select a pixel would be able to do so. PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
| phil99 Guru Joined: 11/02/2018 Location: AustraliaPosts: 2831 |
I suppose one way would be to have the arduino emulate the touch controller of an LCD panel. Mouse motion generating TOUCH(X) and TOUCH(Y) and a button press a touch interupt. |
||||
| lizby Guru Joined: 17/05/2016 Location: United StatesPosts: 3478 |
I think I found what I was looking for with TassyJim's thread here. Looks like the best place for me to start is to try to make a CFunction for the first time so it's all done on the F4. PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
| lizby Guru Joined: 17/05/2016 Location: United StatesPosts: 3478 |
Doh! TOUCH itself would be just the thing. Don't know why I didn't think of that. I'd still like to look into the mouse as CFunction, but it wasn't going to be high on my list anyway. PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |