Skip to content

KorbenGIT/libmove

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

libmove for PSL1GHT V2

This lib will be installed inside the PORTLIBS

Authors

  • deroad - libmove.cpp/.h movebuttons.h
  • José Ramos Márquez (bigboss) - moveutil.cpp/.h spursutil.cpp/.h
  • Youness Alaoui (KaKaRoTo) - moveutil.cpp/.h spursutil.cpp/.h

Changelog:

  • 0.4
Fixed set_move_led_color
Fixed various bugs
  • 0.3
Now is possible to choose the move controller to use.
Added move_set_rumble/move_get_rumble function
Added set_move_led_color to force the ball color of the PS Move
  • 0.2
    fixed gyro axis
  • 0.1
    initial release

Linking

Add these libs on your makefile to compile your homebrew. -lmove -lgem -lcamera -lspurs

License

This lib is released under BSD License.

Example

#include <libmove/libmove.h>
int main(s32 argc, const char* argv[]){
	movePadData data;
	init_move();
	while(1){
		getMovePadData(PLAYSTATION_MOVE_PAD_0 , &data);
		if(data.BTN_ACTION)
			calibrate_move(PLAYSTATION_MOVE_PAD_0);
		}else if(data.BTN_T){
			goto end;
		}
	}
end:
	end_move();	
}

About

A simple PS Move lib for PSL1GHT v2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published