• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › General Discussion v
« Previous 1 ... 185 186 187 188 189 ... 369 Next »

Wiimote + XBMC + Dolphin, code question
View New Posts | View Today's Posts

Pages (2): 1 2 Next »
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Wiimote + XBMC + Dolphin, code question
02-14-2011, 01:17 PM
#1
fndude
Unregistered
 
First off, props to the devs, tight code and nice project.

I would like to launch Dolphin from xbmc. I managed to do this with no problem, I am running an Unbuntu build and with a PPA it works out of the box with a app launcher.

However, I would like to pair a real wiimote on main() start, as I have no keyboard and would like the process to be automated, right now I have to do this manually, and with no keyboard getting to the screen to pair is not an option.

I would like the code to launch into the pair code and loop until it pairs with the remote via the 1+2 press, then launch the game. A timeout with exit if fail.

I have been looking at the source, where I would hack this out? Also, I don't want to reinvent the wheel if this has already been done.

Any ideas or suggestions for making this happen would be great.

Currently running r7121.


Once again, fantastic project!

Reply
02-16-2011, 04:17 AM
#2
catpower
Unregistered
 
If you figure it out, I would love to hear how to do it. I have the exact same situation, can pair my Wii remotes in Dolphin, but would like it to auto pair when launched from XBMC otherwise I have to close Dolphin and then reopen it (I can't seem to get the remotes to work in Dolphin without hitting pair and then restarting Dolphin).

Out of curiosity, does your Wii remote work in XBMC? Can you navigate XBMC with it?
Reply
02-16-2011, 11:48 AM
#3
fndude
Unregistered
 
Yes it works great for xbmc, it's my primary remote. XBMC's xbmc-wiimote is a standalone that will pair all the time. You just hit 1&2 and it syncs up instantly. I can turn the remote off, then on and sync in 5 seconds.

I am getting a build environment together now so I can start. I will let you know if I make any progress.

Reply
01-11-2012, 10:32 AM
#4
samos101 Offline
Junior Member
**
Posts: 17
Threads: 0
Joined: Nov 2011
Did you ever figure this out mate?

Looking for exactly the same thing.
Find
Reply
10-06-2012, 02:18 AM
#5
sirkingchase Offline
Junior Member
**
Posts: 41
Threads: 2
Joined: Sep 2012
Sames here, been looking for a solution as well. It doesnt seem like it would that hard to code in, if we knew exactly where to code it in at.
Find
Reply
10-06-2012, 07:34 AM
#6
Axxer Offline
Why would I help you?
*******
Posts: 1,078
Threads: 28
Joined: May 2012
Use Advanced Launcher and Dolphin's command line tools. When you set up the command for the launcher, use --exec=%rom%
Desktop:
OS: Windows 7 64 bit
CPU: Intel Core i5 3570K @ 4.4 GHz
GPU: EVGA NVIDIA GeForce GTX 550 Ti (Factory OC'ed)
RAM: 16 GB @ 1600 MHz
Dolphin Revision:3.0, 3.0-784, 3.5, latest 3.5
Find
Reply
10-07-2012, 02:29 PM
#7
sirkingchase Offline
Junior Member
**
Posts: 41
Threads: 2
Joined: Sep 2012
Well I figured out a cheatery way to do this using dolphins "hotkey" to sync the wiimotes.

Have a script that launches the "hotkey" a few seconds after the game launches.
Alternatively, I have an IR remote that works with my Linuxbox, I can map the hotkey to one of those buttons as well.

Anyways, I am looking into BlueZ, Im not sure how it and dolphin work together. If we could use BlueZ to connect to the WiiMote directly without using Dolphin and it still sync with Dolphin, then I could make a script keeps looking for the remote until its connected.
Find
Reply
10-07-2012, 04:11 PM
#8
Axxer Offline
Why would I help you?
*******
Posts: 1,078
Threads: 28
Joined: May 2012
The answer to connecting your Wiimote to your PC is extremely easy to find here on these forums... It is even on the first page of the General Discussion subforum if you just looked and read the thread titles for a couple of seconds.

http://forums.dolphin-emu.org/showthread.php?tid=25288
Desktop:
OS: Windows 7 64 bit
CPU: Intel Core i5 3570K @ 4.4 GHz
GPU: EVGA NVIDIA GeForce GTX 550 Ti (Factory OC'ed)
RAM: 16 GB @ 1600 MHz
Dolphin Revision:3.0, 3.0-784, 3.5, latest 3.5
Find
Reply
10-08-2012, 02:18 AM
#9
sirkingchase Offline
Junior Member
**
Posts: 41
Threads: 2
Joined: Sep 2012
Yes, I actually posted on that exact topic, asking for a solution in Linux.

I need one for LINUX.

All the programs that members created are nice and all but they are not for linux, they are ".exe", which is no help for me. I dont believe any of them are open source so I cant make them for linux. Plus Windows uses something completely different for Bluetooth than linux, so even if I could get it to work with WINE, it still would not do anything. I have looked extensively for a solution to this problem.

I have already accepted the fact that I will have to make my own.
BEWARE: ARCH-LINUX User
Processor: AMD Phenom II 960T Overlocked to 3.8 GHZ && Unlocked to X6
Video Card: GeForce GTX 650 1GB
Dolphin Version - Latest git-hub for Linux, complied from source
Currently Playing: Super Mario Sunshine
Find
Reply
10-09-2012, 10:09 AM
#10
Delayline Offline
Member
***
Posts: 55
Threads: 2
Joined: Oct 2011
(10-08-2012, 02:18 AM)sirkingchase Wrote: Yes, I actually posted on that exact topic, asking for a solution in Linux.

I need one for LINUX.

All the programs that members created are nice and all but they are not for linux, they are ".exe", which is no help for me. I dont believe any of them are open source so I cant make them for linux. Plus Windows uses something completely different for Bluetooth than linux, so even if I could get it to work with WINE, it still would not do anything. I have looked extensively for a solution to this problem.

I have already accepted the fact that I will have to make my own.

Try Wiican
Wiican home page

Guide for ubuntu: http://www.ubuntugeek.com/wiican-easy-wii-remote-control-on-ubuntu-linux.html
[color=#006600]Processor:[/color] AMD Phenom II 1090T @ 3.4GHz
[color=#ff0000]Graphics:[/color] Asus ATI EAH5870v2 1GiB
[color=#333333]Motherboard:[/color] Asus Crosshair IV Extreme
[color=#006666]RAM:[/color] 8GiB Corsair 1333MHz
[color=#009900]Operating System:[/color] openSUSE Linux 13.2 x86_64 GCC 4.8.3
Find
Reply
« Next Oldest | Next Newest »
Pages (2): 1 2 Next »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 2 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode