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


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Controllers v
« Previous 1 ... 7 8 9 10 11 ... 321 Next »

controller settings help.
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
controller settings help.
04-03-2022, 10:41 AM (This post was last modified: 04-04-2022, 06:25 AM by ulao.)
#1
ulao Offline
Above and Beyond
*******
Posts: 1,031
Threads: 81
Joined: May 2009
I'm trying to use the DJ hero here with a wii mote adapter. It pretty much reads the i2c and forwards it to usb. Everything maps ok accept the effect knob. Looks like the way the wii did this was turning right counts 0-255 and then it hits 256 its back to 0 again, so it just roles the data over. Going left just counts in reverse. 255-0 and loops. Its is relative, so if you stop at 64, it stays there. then you can turn more. Like the arkanoid dial with no fixed edges. (endless turning)

Problem is if I use to use the emulated wii mote and attached the DJ hero, it wants left and right for the knob instead of just asking for 1 analog. So I can not use full slider 0 + for left and full slider 0 - for right because they both change simultaneously.
So I need essentially this.

var now = analog
if (now > old) its going right.
if (now < old) its going left.
var old= analog

but I can not use my own variables so that is out. Is there any way to have any motion in the  positive full analog dirrection set to a right, and any motion in the negative set to left?
or is there a way to prevent full slider 0 + and full slider 0 - from changing simultaneously in some clever mathematical way.


update: More I think about it the cross fade, and the effect knob should all be absolute inputs. Looks like absolute is not an option.
[Image: newLogo_white_small.png]

main page
Working controllers


[url=http://spreadsheets.google.com/pub?key=tGD-U_eW1Rc7rNyqkpgJuIg&output=html][/url]
Find
Reply
« Next Oldest | Next Newest »


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


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode