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


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Development Discussion v
« Previous 1 ... 15 16 17 18 19 ... 111 Next »

Another thread about Lua scripting
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Another thread about Lua scripting
10-04-2017, 02:11 PM
#1
Nickmav1337
Unregistered
 
Hello!

I'm someone who is interested in contributing to Dolphin.

Specifically I'd like to add support for Lua scripting so that external scripts could do things like control user input and read memory addresses etc.

I've already forked the project on GitHub and have created a Lua console and have made it so that Lua scripts can print values to this console.

The next thing I want to add are bindings so that Lua scripts can control user input, and while I've been able to discern how Dolphin works so far just by reading the source, I can't seem to figure out how Dolphin handles user input.

Can somebody please point me in the right direction? The code base is a little daunting.

Thank you.
Reply
10-04-2017, 10:23 PM
#2
ExtremeDude2 Online
Gotta post fast
*******
Posts: 8,991
Threads: 274
Joined: Dec 2010
A good place to ask would be #dolphin-dev on freenode.
Check out my videos (dead)
[Image: sig-22354.png]
Website Find
Reply
10-05-2017, 02:14 PM
#3
Nickmav1337
Unregistered
 
(10-04-2017, 10:23 PM)ExtremeDude2 Wrote: A good place to ask would be #dolphin-dev on freenode.

I asked the question but was ignored. They seemed busy.
Reply
10-05-2017, 04:59 PM (This post was last modified: 10-05-2017, 05:00 PM by degasus.)
#4
degasus Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 1,828
Threads: 10
Joined: May 2012
Found it:
> 03:39:51 Nickmav1337 | Does anybody know where someone new to the codebase could look to figure out how Dolphin handles user input?

For input, this is a good place to start: https://github.com/dolphin-emu/dolphin/tree/master/Source/Core/InputCommon
But this is for GC stuff, Wiimotes are a lot more ugly :/

Just stay on IRC, be a bit more noisy, and ask if you don't understand what other people are discussing.
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