Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Nintendo Switch Control Library: Difference between revisions

From GameBrew
(Created page with "{{Infobox Switch Homebrews |title=Nintendo Switch Control Library |image=nintendoswitchcontrollibrary.png |description=Create controller macros using Arduino Leonardo. |author=lefmarna |lastupdated=2022/10/25 |type=Developments |version=1.3.1 |license=MIT |download=https://dlhb.gamebrew.org/switchhomebrews/nintendoswitchcontrollibrary.7z |website=https://gbatemp.net/threads/nintendo-switch-control-library-create-controller-macros-using-arduino-leonardo.623729/ |source=ht...")
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
|title=Nintendo Switch Control Library
|title=Nintendo Switch Control Library
|image=nintendoswitchcontrollibrary.png
|image=nintendoswitchcontrollibrary.png
|description=Create controller macros using Arduino Leonardo.
|description=A library for microcontrollers that uses Arduino to automate Nintendo Switch games.
|author=lefmarna
|author=lefmarna
|lastupdated=2022/10/25
|lastupdated=2022/10/25
|type=Developments
|type=Remote Play and Streaming
|version=1.3.1
|version=1.3.1
|license=MIT
|license=MIT
Line 13: Line 13:
|donation=
|donation=
}}
}}
{{#seo:
Library that allows you to create controller macros using Arduino Leonardo.
|title=Switch Homebrew PC Tools (Developments) - GameBrew
 
|title_mode=append
This library is based on celclow's [https://github.com/celclow/SwitchControlLibrary SwitchControlLibrary]. While SwitchControlLibrary offers high flexibility, it can make the code really long and takes a while to compile because it uses ArduinoSTL.
|image=nintendoswitchcontrollibrary.png
 
|image_alt=Nintendo Switch Control Library
To make it easier to use, the author have selected some commonly used input patterns and organize them into functions. Now you can write the code for pressing and releasing a button in just one line. It also works for rapid fire and long press, making it highly versatile.
}}
 
{{cleanup|article|Needs cleanup}}
Moreover, these features were implemented without using ArduinoSTL. This allows for faster compilation and there is no need to worry about dependencies.
Create controller macros using Arduino Leonardo.
 
==User guide==
Requirements:
*PC with internet connection (either Windows or Mac).
*Arduino Leonardo.
*USB cable (for connecting Arduino Leonardo and Switch and PC.


==Media==
Environments:
<youtube></youtube>
*Arduino IDE (1.8.13 recommended).
*Arduino AVR Boards (1.8.3 recommended).


Tutorials:
*[https://gbatemp.net/threads/nintendo-switch-control-library-create-controller-macros-using-arduino-leonardo.623729/ IDE setup and basics (English)] by TheStonedModder.
*[https://github.com/lefmarna/NintendoSwitchControlLibrary#readme NintendoSwitchControlLibrary documentation (Japanese)] by lefmarna.
*[https://pokemonit.com/micon-introduction/ Automate Pokémon Sword and Shield using a microcontroller (Mac/Windows) (Japanese)] from Pokémonit.


==Screenshots==
==Screenshots==
https://dlhb.gamebrew.org/switchhomebrews/nintendoswitchcontrollibrary-01.png
https://dlhb.gamebrew.org/switchhomebrews/nintendoswitchcontrollibrary2.gif
https://dlhb.gamebrew.org/switchhomebrews/nintendoswitchcontrollibrary-02.png
https://dlhb.gamebrew.org/switchhomebrews/nintendoswitchcontrollibrary-03.png
https://dlhb.gamebrew.org/switchhomebrews/nintendoswitchcontrollibrary-04.png
https://dlhb.gamebrew.org/switchhomebrews/nintendoswitchcontrollibrary-05.png
https://dlhb.gamebrew.org/switchhomebrews/nintendoswitchcontrollibrary-06.png
https://dlhb.gamebrew.org/switchhomebrews/nintendoswitchcontrollibrary-07.png
https://dlhb.gamebrew.org/switchhomebrews/nintendoswitchcontrollibrary-08.png


==Changelog==
==Changelog==
'''v.1.0'''
'''v1.3.1'''
* First Release.
*Merge pull request #19 from lefmarna/feat/add-paragraph.
*Added paragraph for library.properties.


== External links ==
== External links ==
* Gbatemp - https://gbatemp.net/threads/nintendo-switch-control-library-create-controller-macros-using-arduino-leonardo.623729/
* GitHub - https://github.com/lefmarna/NintendoSwitchControlLibrary
* Github - https://github.com/lefmarna/NintendoSwitchControlLibrary
* GBAtemp - https://gbatemp.net/threads/nintendo-switch-control-library-create-controller-macros-using-arduino-leonardo.623729/
* Reddit -

Latest revision as of 13:23, 4 August 2023

Nintendo Switch Control Library
Nintendoswitchcontrollibrary.png
General
Authorlefmarna
TypeRemote Play and Streaming
Version1.3.1
LicenseMIT License
Last Updated2022/10/25
Links
Download
Website
Source

Library that allows you to create controller macros using Arduino Leonardo.

This library is based on celclow's SwitchControlLibrary. While SwitchControlLibrary offers high flexibility, it can make the code really long and takes a while to compile because it uses ArduinoSTL.

To make it easier to use, the author have selected some commonly used input patterns and organize them into functions. Now you can write the code for pressing and releasing a button in just one line. It also works for rapid fire and long press, making it highly versatile.

Moreover, these features were implemented without using ArduinoSTL. This allows for faster compilation and there is no need to worry about dependencies.

User guide

Requirements:

  • PC with internet connection (either Windows or Mac).
  • Arduino Leonardo.
  • USB cable (for connecting Arduino Leonardo and Switch and PC.

Environments:

  • Arduino IDE (1.8.13 recommended).
  • Arduino AVR Boards (1.8.3 recommended).

Tutorials:

Screenshots

nintendoswitchcontrollibrary2.gif

Changelog

v1.3.1

  • Merge pull request #19 from lefmarna/feat/add-paragraph.
  • Added paragraph for library.properties.

External links

Advertising: