Trying to control cursor position, quickly & accurately, using BS2pe
Hi there,
···········I am trying to use a basic stamp to control the cursor on the screen; to simplify things I am controlling the inputs to the mouse processor by using an AND gate instead of trying to communicate directly with the host computer. The problem I am having is this:· if I command the cursor to move really slow then the·cursor will always arrive precisely to the point on the screen I want it to go to, but when I speed things up the accuracy is way off. ·I figure this is normal because a person using the mouse will correct for this and won't notice it. I think my options from here would be to a. try a newer mouse (more accurate), b. try using a PAK-XI chip to read the output of my mouse processor and correct the position using the stamp·(although not sure if I can force the PAK-XI to read only mode, as host /mouse-emulator is already talking to mouse) c. try to use a UART with the stamp and try to master the communication protocol between mouse and host (this method would reduce the chip count in my project but not sure if it would even work). If anyone has experience of any of this or believe they could help me out, I'd greatly appreciate it.
Brian.
(ps/2 mouse)
···········I am trying to use a basic stamp to control the cursor on the screen; to simplify things I am controlling the inputs to the mouse processor by using an AND gate instead of trying to communicate directly with the host computer. The problem I am having is this:· if I command the cursor to move really slow then the·cursor will always arrive precisely to the point on the screen I want it to go to, but when I speed things up the accuracy is way off. ·I figure this is normal because a person using the mouse will correct for this and won't notice it. I think my options from here would be to a. try a newer mouse (more accurate), b. try using a PAK-XI chip to read the output of my mouse processor and correct the position using the stamp·(although not sure if I can force the PAK-XI to read only mode, as host /mouse-emulator is already talking to mouse) c. try to use a UART with the stamp and try to master the communication protocol between mouse and host (this method would reduce the chip count in my project but not sure if it would even work). If anyone has experience of any of this or believe they could help me out, I'd greatly appreciate it.
Brian.
(ps/2 mouse)
Comments