• 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 ... 6 7 8 9 10 ... 368 Next »

Input plugin - Add delay period to input
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Input plugin - Add delay period to input
02-14-2022, 06:39 AM
#1
Redmage913 Offline
Junior Member
**
Posts: 2
Threads: 1
Joined: Feb 2022
Metroid Prime GC's L trigger has always been a bit quirky, where if the trigger is depressed from 0 to 100 too quickly, the Lock-On function of the HUD does not engage properly and things like strafing don't work until redepressing the trigger. From a bit of research, I've learned that in essence, the GC's controller itself has hardware for both the analog depression level and the trigger click around 90%, which is emulated by separating the two inputs on the plugin screen into L-analog and L.

With the capabilities of Controllers' Configure Input screen, is it possible to do the following:
If input on L-analog increases >90%, which activates L, wait one input cycle before submitting L to the system.

I read the bug report that determined that the L button quirkiness with this title is intended/correct behavior (Emulator Issue #10029), and I agree with that from an accuracy perspective. If something similar could be accomplished with the input plugin, though, this would add to the game from a quality-of-life perspective that can be manually set up on a per-user basis.
Find
Reply
02-14-2022, 06:56 AM
#2
JosJuice Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 8,877
Threads: 7
Joined: Oct 2014
If by "the input plugin" you mean Dolphin's normal input system (Dolphin doesn't have plugin support), you could use something like this for mapping L-Digital in order to make the input less instantaneous:

smooth(A, 0.05, 0)

Where A is the button you want to use, and 0.05 is the time you want it to take for the input strength to reach 100%. (Perhaps you want a little less than 0.05.)
Find
Reply
02-14-2022, 07:16 AM
#3
Redmage913 Offline
Junior Member
**
Posts: 2
Threads: 1
Joined: Feb 2022
This works perfectly for what I was trying to do. Thank you so much! My apologies for the plugin statement; I knew it wasn't the best verbiage, and I should have said "Controllers - add delay to input". If you think renaming the thread would be helpful for search purposes, please feel free to do so.

Where can I find more information customizing inputs on the plugin? I looked at Input Syntax on wiki.dolphin-emu site may I ask you where else I should read?
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