Questions tagged [wiimote]

The Wii Remote, also known as the Wiimote, is the primary controller for Nintendo's Wii console.

89 questions
0
votes
1 answer

Add two while loop with cwiid module - Raspberry Pi

I would appreciate if someone is able to assist me on my script. I'm planning to write a script which is able to switch between loop. Currently, I have TWO(2) while loop. Thus, I add an 'if' statement to create a condition which I hope the program…
0
votes
1 answer

What is wrong with my python 2 code that incorporates a wii remote that activates a buzzer via GPIO on a raspberry pi zero w?

Here is my python code that I am using. I am trying to use a wii remote to trigger a buzzer. I thought this would be an interesting use for my old wii remote. The code that interacts with the buzzer works fine because I used an example script to…
0
votes
1 answer

Installing cwiid with Python 3 extension

I'm trying to download and install the cwiid package with extension for the Raspberry Pi 3B+. But I keep getting this error. pi@raspberrypi:~ $ sudo pip3 install cwiid Collecting cwiid Downloading…
Aileen
  • 73
  • 1
  • 7
0
votes
1 answer

how to subclass this? DarwiinRemote Objective C

I use this class: @interface NSObject( WiiRemoteDiscoveryDelegate ) - (void) WiiRemoteDiscovered:(WiiRemote*)wiimote; - (void) WiiRemoteDiscoveryError:(int)code; @end; but how do I subclass this?
Bob
  • 409
  • 5
  • 9
0
votes
1 answer

wiimotelib bug?

I am recently writing a wiimote program: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Diagnostics; using System.Linq; using System.Text; using…
user288231
  • 995
  • 2
  • 13
  • 24
0
votes
1 answer

Spoofing an RN42 into a Wiimote

RN42 Wireshark Snapshot Wiimote Wireshark Snapshot All, I am attempting to program an RN42 to spoof a nintendo Wiimote. I would like for the RN42 to connect to the Wii just as a Wiimote would. I can not seem to detect the Wii, or connect to it with…
J. Dee
  • 1
  • 2
0
votes
0 answers

How can I create my custom Gaming device?

I am developing a custom gaming device like Leap Motion. But I am wondering how to plan structure of SDK's and drivers. Basically, my device (MCU with bluetooth) will transfer data through Bluetooth to the Host device (Linux, MAC, PC, Android and…
user3733814
  • 105
  • 1
  • 10
0
votes
1 answer

Converting angular velocities to orientation Wii Motionplus

I'm working on the Wii Motionplus and I've extracted the raw values using WiimoteLib Library. However, when I normalize it, I get random values that don't tally with what is actually happening. This is how I'm normalizing: Calibrate the…
Imelza
  • 301
  • 1
  • 7
  • 19
0
votes
0 answers

Read wii remote battery level

I currently have my wii remote connected to my Windows 10 x64 laptop, and have it recognized as a game controller (Julian Loer's gamepad drivers). Since it is Windows, and I am using python 3, cwiid is not availible. I have been able to work around…
Yubin Lee
  • 814
  • 2
  • 9
  • 26
0
votes
1 answer

GPIO pins won't work anymore halfway through my program

So, I am programming in python on my pi. Through a cwiid library I am connecting my wii controller. This works fine. But, after my wii controller connects trough bluetooth, suddenly the leds won't work. The same line of code works before…
Noralie
  • 139
  • 9
0
votes
1 answer

32Feet API with C# .NET - Stuck

I am trying to pair my Wiimotes using 32Feet API and I am successfully in doing so by following code. var client = new InTheHand.Net.Sockets.BluetoothClient(); var devices = client.DiscoverDevices(); var count = (from d in devices …
Umair A.
  • 6,690
  • 20
  • 83
  • 130
0
votes
2 answers

Way to Map Small Values to Large and Vice Versa

I am currently working on a tool that will allow Wiimote to be used as computer mouse and am stuck in a problem. The wiimote returns x and y co-ordinates which are very small as compared to screen resolution of my pc and I am looking for a way to…
Umair A.
  • 6,690
  • 20
  • 83
  • 130
0
votes
1 answer

C code to extract pairing code from wiimote, strange result

I was helping someone over at Ask Ubuntu with , what should of been a simple issue of connecting a Wiimote to Ubuntu, however we ran in to a bug in the driver. The driver would request a bluetooth pairing code for the device, the user did not have…
Mark Kirby
  • 21
  • 2
  • 11
0
votes
1 answer

C# wiimote library - computing distance from sensor bar to wiimote

I'm working with the C# managed wiimote library for a little fun project I'm working on, But I'm having trouble finding a good tutorial on how to calculate how far the wiimote is from the monitor (i.e sensor bar). I want to create a zoom effect…
nagates
  • 620
  • 13
  • 40
0
votes
1 answer

Createfile works, but handle is invalid on FileStream Construction

I'm trying to connect to a Wiimote in Unity3D through HID. When I call CreateFile() (from kernel32) a "valid" pointer is returned, and I can even get the Wiimote's capabilities through HidD_GetPreparsedData and HidP_GetCaps. Buffer-size etc. is…
Frank v Hoof
  • 57
  • 1
  • 14