Pipe Input: Difference between revisions

Jump to navigation Jump to search
(Added MacOS instructions)
 
Line 4: Line 4:


==== Creating the FIFO ====
==== Creating the FIFO ====
First, locate your dolphin-emu user folder (usually in <code>~/.dolphin-emu</code>, <code>~/.config/dolphin-emu</code>, or <code>~/.local/share/dolphin-emu/Pipes</code>), then run:
First, locate your dolphin-emu user folder (usually in <code>~/.dolphin-emu</code>, <code>~/.config/dolphin-emu</code>, <code>~/.local/share/dolphin-emu/Pipes</code>, or <code>~/Library/Application Support/Dolphin/Pipes</code> for macOS), then run:


  mkfifo pipe1
  mkfifo pipe1
Line 49: Line 49:
Moving a stick (where stick_name is C or MAIN and X and Y values between 0 and 1):
Moving a stick (where stick_name is C or MAIN and X and Y values between 0 and 1):
  echo 'SET stick_name X Y' > ~/my-dolphin-directory/pipe1
  echo 'SET stick_name X Y' > ~/my-dolphin-directory/pipe1
==== Deleting the FIFO ====
When finished, return to your dolphin-emu user folder, then run:
rm pipe1


[[Category:Tutorials]]
[[Category:Tutorials]]