03 위모트(Wii Remote) 자료
닌텐도 위모트(Wii Remote)를 이용해서 PC용 프로그램을 작성하는 것에 관한 내용을 모아 놓았다.
유용한 링크
정보
- debug = "X="+Wiimote.RawForceX+' Y='+Wiimote.RawForceY+' Z='+Wiimote.RawForceZ
Mouse.LeftButton = Wiimote.A
Mouse.RightButton = Wiimote.B
if Wiimote.RawForceX > 7 || Wiimote.Left then
Mouse.x = -0.01 + Mouse.x;
else if Wiimote.RawForceX < -7 || Wiimote.right then
Mouse.x = 0.01 + Mouse.x;
end if
if Wiimote.RawForceZ > 7 || Wiimote.Up then
Mouse.y = -0.01 + Mouse.y;
else if Wiimote.RawForceZ < -7 || Wiimote.Down then
Mouse.y = 0.01 + Mouse.y;
end if