/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / Disable x or y axis pointer

Username:     
Password:     
             

Forum

# 1   2008-04-09 01:35:27 Disable x or y axis pointer

blakeadkins
New member
Registered: 2008-01-28
Posts: 8

Disable x or y axis pointer

Is there a way to disable an axis of the pointer? For instance. I only want the user to be able to move the pointer left and right i.e. disable y axis. I haven't been able to find a way yet. I'd appreciate any information someone can offer. Thanks for your time!

Offline

 

# 2   2008-04-09 06:56:58 Disable x or y axis pointer

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: Disable x or y axis pointer

You can specify the rectangle where the pointer can be moved. If you restrict either the height or the width to one pixel, it should work as expected. I believe that the 'breakout' game delivered with the original primer works as this.

Offline

 

# 3   2008-04-17 14:40:26 Disable x or y axis pointer

blakeadkins
New member
Registered: 2008-01-28
Posts: 8

Re: Disable x or y axis pointer

Awesome! That did it. Thanks for the help.

Offline

 

Board footer