background preloader

Wiimote

Facebook Twitter

WiiRemote setup with Raspbmc. (08-25-2012 04:07 PM)burnoutberni Wrote: Hey guys,I have a problem with wminput.

WiiRemote setup with Raspbmc

Once I start it e.g. when I type "wminput -d -c /home/pi/wii/wiiconfg ##:##:##:##:##:##" over SSH I can't do anything else than pressing some buttons on the wiimote. Then the corresponding keyboard presses are printed on the screen e.g. "^[[A^[[C [...] ". But in the SSH shell I can't start xbmc, I can't quit wminput, I can't do anything. Anyone knowing a solution? The solution was given in the post. EventServer. EventServer is the part of XBMC that accepts remote device input on all platforms.

EventServer

EventServer API is used to program event clients and simplifies interfacing input devices with XBMC. EventServer accepts commands from event clients such as LIRC, joysticks, PDAs, and iPhones. 1 The Purpose of EventServer API in XBMC The EventServer in XBMC was created to satisfy a need to support many input devices across multiple hardware platforms. Adding direct support for a multitude of devices generally decreases performance and stability, and becomes difficult to maintain. 2 Event Clients and the EventServer XBMC's EventServer listens for commands from event clients.

To change the default Event Server port on XBMC, you must modify guisettings.xml under <services>, find this line "<esport>9777<esport/>", change the port number and save. 3 Pros and Cons EventServer can be compared to the older web control interface, Web Server HTTP API (also known as "HTTPAPI"). 3.1 EventServer Pros 3.2 EventServer Cons.

Raspbmc Wii Remote Action!  - Blog - FrostSoftware. Now back to Raspbmc, and getting my wiimote functioning with it.

Raspbmc Wii Remote Action!  - Blog - FrostSoftware

I didn’t think this was going to be hard, as the new kernel supported bluetooth and I had done a little research into other people attempting to hook up bluetooth device’s to the rasPi (Thank you s7mx1 for the automation).It appeared mosty users had success with one particular type of bluetooth card, the Cambridge Silicon Radio chipset cards, and the advice was to avoid the more common Broadcom chipset, as support is minimal on the rasPi. Now its really hard to tell what your buying, until you plug it in, so decided to find the cheapest bluetooth dongle. When I got the dongle, I tried it out first, on a different machine. It worked, so I plugged it into the rasPi. Now I needed to ssh into the machine, I just used terminal, if you're a Windows user download putty; Now if you haven’t already created a root account on the pi, do so.

. ( or what ever the pi’s IP address is ) Then just follow the on screen prompts. Wminput – CWiid. Overview wminput is an Linux event, mouse, and joystick driver for the wiimote using the uinput system.

wminput – CWiid

It supports assigning key/button symbols to buttons on the wiimote, nunchuk, and classic controller, and axes symbols to wiimote axes including direction pads, "analog" sticks, and "analog" shoulder buttons. Furthermore, it provides a plugin interface through which more advanced functionality can be implemented, such as accelerometer and ir calculations. Plugins can provide button-type events and axes. Execution wminput [-h] [-w] [-c config] [-d] [-r] [-q] [-v] [bdaddr] -h: print usage and exit -w: on startup, wait (without timing out) until a wiimote is found -c config: specifies the configuration file to load.

Configuration Requirements uinput kernel support is required. joydev and evdev are required for joystick and event interfaces, respectively. By default, some (most? KERNEL=="uinput", MODE="0666" KERNEL=="uinput", GROUP="<group>" Key symbols can be assigned to wminput button events.