Deroad Explains Libmove With A How To
by
Published on 01-19-2013 12:49 PM
Developer
Deroad is back with a tutorial regarding his recently released
libmove for psl1ght homebrew development. On the psxbrew wiki you will find the necessary information needed to include the move controller support in your homebrew apps. This is a must read for developers who are keen on adding this to their homebrew apps. Something I can see added to ThatOtherPerson's homebrew game
UFO Racer. Just a thought... Check out the below!
About libmove:
libmove tutorial online. For any help there are always the forums.
What is libmove?
Is a simple lib that allows to use the PlayStation Move controller on the PS3 through PSL1GHT (V2). This lib works only with the Playstation Eye.
How to use it:
Include
It's quite simple to use. First thing is including the lib into the source code.
Code:
#include <libmove/libmove.h>
You don't need any other header. that one include all the things.
Initialise libmove:
then you need to initialise it:
This function return LIBMOVE_ERROR if something went wrong. If everything is fine, that returns LIBMOVE_OK. This can be an example of how to use this:
Code:
if(initLibMove() == LIBMOVE_ERROR){
//Something went wrong
return -1;
}else{
//Do something..
}
End libmove
To stop the lib, you can simply call this function. it will return LIBMOVE_ERROR if something went wrong. If everything is fine, that returns LIBMOVE_OK.
Continued here...
News Source:
psxbrew.net via @Wargio
PSX-SCENE: The Pinnacle Scene Xenocracy
vBulletin Message