2

I have an Acer Netbook with Windows 7 starter and I am using the Kindle-PC to read books. The Graphics driver has an option to rotate the screen and when I rotate it 90-deg (for more text in Kindle-PC full-screen mode) the mouse stays at the original orientation. It is a mental struggle in spatial concepts to use the mouse when Left moves Up and Right moves Down etc.

I need an app (or write one in Delphi) that will grab mouse movements and translate them into their 90-degree equivalents and then move the mouse.

Any suggestions or code snippets?

studiohack
  • 13,468
  • 19
  • 88
  • 118
user983145
  • 41
  • 1
  • 3
  • You did say "mouse".... So rotate the mouse 90 degrees. In the event that you really meant "built-in trackpad", you really need to do this at the driver level. – Chris Thornton Dec 02 '11 at 15:44
  • Thanks, I did mean mouse as I have a USB one, but also the trackpad would need changing too. However, Tim's suggestion below solves the problem as it takes the mouse and trackpad movements with it on the Rotate. – user983145 Dec 02 '11 at 17:11

3 Answers3

6

In Win7, you can go to the screen resolution settings and change the orientation. Doing it this way, rather than your graphics driver, will cause windows to map the mouse movement to what you'd expect.

Tim Coker
  • 624
  • 5
  • 17
  • Thanks Tim, that works as expected. I used the raw graphics driver setup to change orientation, I didn't think of looking at Screen Resolution. – user983145 Dec 02 '11 at 17:12
  • I would have written a small app to do it. If you read the full original post, that's why I asked for Code Snippets! ">Someone asked" I did a search and also read the entire list presented when I started the post. It would be more helpful to quote the link, I thought we were here to help each other. – user983145 Dec 02 '11 at 20:25
  • In the spirit of stack overflow/superuser.com/ all stack exchange sites, you normally mark the answer that worked for you as the answer by checking the checkmark next to the answer. I thought you had yesterday, but I don't see the checkmark now. – Tim Coker Dec 03 '11 at 11:35
  • Hi Tim, I guess I spoke too soon. After shutting down last night and restarting this morning the mouse has reverted to non-conforming with the orientation. It looks like I need to write a small app that will change orientation and translate the mouse movement though 90-degrees. I am back to my original request for code-snippet Help. {grin} – user983145 Dec 03 '11 at 17:43
0

If you have a Synaptics touchpad you could take a look at this project for scrolling.

It uses the api provided by the synaptics driver to simulate scrolling when you use two fingers. This api fires an event whenever it detects a finger movement. You can catch this event in your application (so the driver will not report this movement to the operating system) and simulate mouse movements back to windows.

As this project is written in Borland C++ it should be fairly easy to port it to Delphi.

Simon Sheehan
  • 9,114
  • 12
  • 52
  • 71
  • Thanks, it does have a Synaptics pad. I will give it a try. I think I still have a Borland C++ around version 5 or 6 on an older laptop. I can build an app on that. – user983145 Dec 04 '11 at 16:20
-1

You can use AdvancedMouseSpeed to rotate the orientation of the mouse or any pointing device 90 degrees or more.

https://hcidesign.com/mousespeed/

Al Ro
  • 119
  • 3
  • 2
    Please quote the essential parts of the answer from the reference link(s), as the answer can become invalid if the linked page(s) change. – DavidPostill Apr 27 '21 at 18:04
  • that is the essential part. – Al Ro Apr 28 '21 at 19:31
  • You missed out the bit that says "This is an open beta. It does not currently remember it's settings when you quit, etc" – DavidPostill Apr 28 '21 at 19:35
  • At the very least you should descibe *how* to use the software to solve the problem as asked in the question. [How do I recommend software in my answers?](https://meta.superuser.com/questions/5329/how-do-i-recommend-software-in-my-answers). – Mokubai Apr 28 '21 at 19:36
  • have any of you actually read the question? he wants to rotate the mouse orientation. that's what the software linked to does. do you want me to include text like, you have to double click on the app icon to launch it? or click on the box that sets the rotation angle? I you folks are being entirely too pedantic. – Al Ro Apr 29 '21 at 16:24