• 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 ... 179 180 181 182 183 ... 315 Next »

Gamecube input polling
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Gamecube input polling
05-19-2014, 06:30 AM
#1
Kadano Offline
Junior Member
**
Posts: 28
Threads: 7
Joined: Mar 2012
Not sure whether this is the right forum and subforum. I thought about asking on gc-forever but I figured you guys might know more about it.

1. How does Gamecube input polling work?
2. How often per frame does it poll?
3. Is there a difference between the games in polling? Especially for things like control stick dead zone and angles.
4. If there are different values in sub-frame polls, how are these treated? Does it go for the largest value or create an average of some sort?

Also, not directly related to this topic:
1. Is there a way to make inputs take effect on the very next frame you hit the frame advance key in Dolphin? With all revisions I’ve used so far, there were 2 frames delay. For example, I held A to open a menu, but I had to advance 2 frames until I could actually see the opening of the menu.
2. Has someone created a script or something similar that reads out .dtm controller inputs and puts them in input displays saved as a video (that can subsequently overlaced over the main video dump)?
Find
Reply
05-19-2014, 08:20 AM
#2
JMC47 Offline
Content Producer
*******
Content Creators (Moderators)
Posts: 6,531
Threads: 29
Joined: Feb 2013
When playing back a dtm, or normally playing the game, I'm fairly certain if you go into graphics settings, advanced, input display overlay and turn it on, you'll get what you want.
Find
Reply
05-19-2014, 08:22 AM
#3
Kadano Offline
Junior Member
**
Posts: 28
Threads: 7
Joined: Mar 2012
(05-19-2014, 08:20 AM)JMC47 Wrote: When playing back a dtm, or normally playing the game, I'm fairly certain if you go into graphics settings, advanced, input display overlay and turn it on, you'll get what you want.
I know about that, but I want to save the controller input in a way that I can show it to others. Example: https://www.youtube.com/watch?v=sllWhoLESXE
I contacted ajp_anton (video creator) already, but he told me that his script was a mess that wouldn’t be useful to me.
Find
Reply
05-19-2014, 09:00 AM
#4
skid Offline
skidau / skid_au
**********
Developers (Some Administrators and Super Moderators)
Posts: 2,006
Threads: 8
Joined: Aug 2009
1. Gamecube input polling works off a serial interface, similar to USB.
2. The polling is not frame rate based and is defined by the game. Input is often polled more than once per frame.
3. Different games poll at different rates.
4. It is up to the game to interpret the input data that it receives from the controller.
Find
Reply
05-19-2014, 12:11 PM
#5
Kadano Offline
Junior Member
**
Posts: 28
Threads: 7
Joined: Mar 2012
(05-19-2014, 09:00 AM)skid Wrote: 1. Gamecube input polling works off a serial interface, similar to USB.
2. The polling is not frame rate based and is defined by the game. Input is often polled more than once per frame.
3. Different games poll at different rates.
4. It is up to the game to interpret the input data that it receives from the controller.
Thank you very much for the insight! Do you happen to know how often Super Smash Bros. Melee polls per frame by chance?
Find
Reply
05-20-2014, 10:10 PM (This post was last modified: 05-20-2014, 10:31 PM by ulao.)
#6
ulao Offline
Above and Beyond
*******
Posts: 1,031
Threads: 81
Joined: May 2009
Just a guess here but I'm going to assume you are not talking about the GC hardware. Dolphin as no control of this for the most part.

USB polls
Windows 8 ms
Linux 2 ms

FYI: there are tweaks for windows, in DX you can set the poll rate but I dont think dolphin takes advantage of this.
Here is how yo change the OS poll rate
http://www.pctools.com/guides/registry/detail/1210/
CAUTION! You can make your computer unstable, so if you dont know how to use safe mode and un do what you did, dont try this.


1. Dolphin uses usb, so its up to the OS ( see above )
2. its up to the OS ( see above )
3. NO, because even though the game may use custom poll rates Dolphin still has to wait on USB.
4. It's all the same. Set by the OS.


1. There is no control of this, its up to the OS and USB standards.
2. No idea.
[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