Analog Functions...quick simple question...spare a second

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
sg57
Posts: 144
Joined: Fri Oct 14, 2005 2:26 pm

Analog Functions...quick simple question...spare a second

Post by sg57 »

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?
AnonymousTipster
Posts: 197
Joined: Fri Jul 01, 2005 2:50 am

Post by AnonymousTipster »

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.
sg57
Posts: 144
Joined: Fri Oct 14, 2005 2:26 pm

Post by sg57 »

sweet thanks, now to make a cursor...[starts up CYGWIN]
Post Reply