| View previous topic :: View next topic |
| Author |
Message |
sg57
Joined: 14 Oct 2005 Posts: 154
|
Posted: Sun Jan 22, 2006 7:22 am Post subject: Analog Functions...quick simple question...spare a second |
|
|
what are the analog functions?
PSP_CTRL_CIRCLE is for circle
what woudl analog X and Y be?
unless oemone can point me towards some OS with a source code? |
|
| Back to top |
|
 |
AnonymousTipster
Joined: 01 Jul 2005 Posts: 197
|
Posted: Sun Jan 22, 2006 7:35 am Post subject: |
|
|
pad.Lx
pad.Ly
they range from 0-255, so to get 0 as the centre, just do
pad.Lx-127
pad.Ly-127
Hope this helps. |
|
| Back to top |
|
 |
sg57
Joined: 14 Oct 2005 Posts: 154
|
Posted: Sun Jan 22, 2006 2:37 pm Post subject: |
|
|
| sweet thanks, now to make a cursor...[starts up CYGWIN] |
|
| Back to top |
|
 |
|