forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

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

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
sg57



Joined: 14 Oct 2005
Posts: 154

PostPosted: Sun Jan 22, 2006 7:22 am    Post subject: Analog Functions...quick simple question...spare a second Reply with quote

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
View user's profile Send private message
AnonymousTipster



Joined: 01 Jul 2005
Posts: 197

PostPosted: Sun Jan 22, 2006 7:35 am    Post subject: Reply with quote

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
View user's profile Send private message
sg57



Joined: 14 Oct 2005
Posts: 154

PostPosted: Sun Jan 22, 2006 2:37 pm    Post subject: Reply with quote

sweet thanks, now to make a cursor...[starts up CYGWIN]
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group