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 

weird controls problem in lua player for windows

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



Joined: 07 Sep 2005
Posts: 5
Location: Québec/Canada

PostPosted: Sun Sep 11, 2005 4:28 am    Post subject: weird controls problem in lua player for windows Reply with quote

the problem is when I press square (D on the keybard) pad:left() is also true and when I press circle (F) pad:down is true.

here is the function in which this happens

Code:

function controlSel()
   pad = Controls.read()

   if pad:down() then
      selY = selY + 2
      if selY > 257 then
         selY = 257
      end
   end
   
   if pad:up() then
      selY = selY - 2
      if selY < 0 then
         selY = 0
      end
   end
   
   if pad:left() then
      selX = selX - 2
      if selX < 0 then
         selX = 0
      end
   end
   
   if pad:right() then
      selX = selX + 2
      if selX > 465 then
         selX = 465
      end
   end

   if pad:triangle() then
      units[1].angle = 90
   end

   if pad:cross() then
      units[1].angle = 270
   end

   if pad:circle() then
      units[1].angle = 0
   end

   if pad:square() then
      units[1].angle = 180
   end

end
Back to top
View user's profile Send private message MSN Messenger
Slopey



Joined: 31 Jul 2005
Posts: 24

PostPosted: Tue Oct 04, 2005 8:11 pm    Post subject: Reply with quote

Its a bug in the Windows player - I reported it previously, hopefully a fix is not too far off! :)
Back to top
View user's profile Send private message
chaos



Joined: 10 Apr 2005
Posts: 135

PostPosted: Wed Oct 05, 2005 9:38 am    Post subject: Reply with quote

i think the new version fixed this already.
_________________
Chaosmachine Studios: High Quality Homebrew.
Back to top
View user's profile Send private message
LuMo



Joined: 21 Aug 2005
Posts: 410
Location: Austria

PostPosted: Wed Oct 05, 2005 5:50 pm    Post subject: Reply with quote

shine allowed me to host the luaplayer for windows alpha 2 on my website, it has some fixes, but still some bugs left

    * no analog stick
    * no directorylisting
    * no sound

greets
lumo
_________________
"Good artists copy, great artists steal."
Pablo Picasso
go2lumo.com
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player 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