- Description of Microcontroller board and manufacturer -
- ), -}, - -``` - -#### Controllers - -```tsx -{ - name: 'Controller Name', - configName: 'ConfigName', - pinout: null, - website: 'http://www.example.com/index.html', - image: require('@site/docs/gp2040-ce-placeholder.png').default, - category: 'official/open/closed/legacy', - desc: () => -- Description of the device and maker. -
, -}, -``` +--- +title: Templates +# tags: +# - +pagination_next: null +pagination_prev: null +description: "PAGE DESCRIPTION" +--- + +# Templates + +## Configuration Templates + +### README Template + +```md +# Board Name + +![Image of Board](site/docs/assets/gp2040-ce-placeholder.png) + +Basic description of the board + +(RP2040 Pinout as a markdown table) +| GPIO Pin | Input/Function | +|:--------:|:--------------:| +| 0 | | +| 1 | | +| 2 | | +| 3 | | +| 4 | | +| 5 | | +| 6 | | +| 7 | | +| 8 | | +| 9 | | +| 10 | | +| 11 | | +| 12 | | +| 13 | | +| 14 | | +| 15 | | +| 16 | | +| 17 | | +| 18 | | +| 19 | | +| 20 | | +| 21 | | +| 22 | | +| 23 | | +| 24 | | +| 25 | | +| 26 | | +| 27 | | +| 28 | | +| 29 | | + +Device Maintainer: [Name, Username, or Business Name](https://github.com/username) +Supported Hardware Variations: List versions/variations that share this configuration +Hardware Availability: List where one can purchase the boards that share this configuration +``` + +## Documentation Templates + +### Page Template + +```md +--- +title: TITLE +# tags: +# - +pagination_next: null +pagination_prev: null +description: "PAGE DESCRIPTION" +--- + +# Document Title + +CONTENT +``` + +### Add-On Template + +```md +--- +title: ADD-ON NAME +# tags: +# - +pagination_next: null +pagination_prev: null +description: "PAGE DESCRIPTION" +--- + +# Add-On Name + +Purpose: The intended function and purpose of this add-on for an end user. + +![Web Configurator Image](../assets/gp2040-ce-placeholder.png) + +## Web Configurator Options + +- Web Configurator Option 1 +- Web Configurator Option 2 +- Web Configurator Option 3 + +## Hardware + +### Requirements + +TODO: List any hardware that is required for the intended functioning of this add-on. + +### Installation + +TODO: List instructions on how to install the hardware for use with this add-on. + +## Miscellaneous Notes + +TODO: Provide any miscellaneous notes that an end user may want or need to know with regard to this add-on. +``` + +### Downloads Page Configurations + +#### Microcontroller Boards + +```tsx +{ + name: 'Microcontroller Board Name', + configName: 'ConfigName', + pinout: null, + website: 'http://www.example.com/index.html', + image: require('@site/docs/assets/gp2040-ce-placeholder.png').default, + supported: true, + desc: () => ( ++ Description of Microcontroller board and manufacturer +
+ ), +}, + +``` + +#### Controllers + +```tsx +{ + name: 'Controller Name', + configName: 'ConfigName', + pinout: null, + website: 'http://www.example.com/index.html', + image: require('@site/docs/gp2040-ce-placeholder.png').default, + category: 'official/open/closed/legacy', + desc: () => ++ Description of the device and maker. +
, +}, +``` diff --git a/docs/add-ons/analog.mdx b/docs/add-ons/analog.mdx index 95ea65d..11456b1 100644 --- a/docs/add-ons/analog.mdx +++ b/docs/add-ons/analog.mdx @@ -1,67 +1,67 @@ ---- -title: Analog -# tags: -# - -pagination_next: null -pagination_prev: null -description: "Add-on to use hardware analog joysticks with GP2040-CE" ---- - -# Analog - -Purpose: This add-on is intended for the use of an hardware analog joystick with GP2040-CE for the left and right analog sticks of the gamepad. - -![GP2040-CE Configurator - Add-Ons Analog](../assets/images/gpc-add-ons-analog.png) - -## Web Configurator Options - -- `Analog Stick 1 X Pin` - The GPIO pin used for the Analog joystick 1 X value. Only ADC pins 26, 27, 28 and 29 are allowed here. -- `Analog Stick 1 Y Pin` - The GPIO pin used for the Analog joystick 1 Y value. Only ADC pins 26, 27, 28 and 29 are allowed here. -- `Analog Stick 1 Mode` - Choose if Analog joystick 1 is to be used for Left Analog or Right Analog. -- `Analog joystick 1 Invert` - Choose if you would like to flip the X or Y axis Analog Stick 1 inputs (or both). -- `Analog joystick 2 X Pin` - The GPIO pin used for the Analog Stick 2 X value. Only ADC pins 26, 27, 28 and 29 are allowed here. -- `Analog joystick 2 Y Pin` - The GPIO pin used for the Analog Stick 2 Y value. Only ADC pins 26, 27, 28 and 29 are allowed here. -- `Analog joystick 2 Mode` - Choose if Analog Stick 2 is to be used for Left Analog or Right Analog (must be different than Analog Stick 1). -- `Analog joystick 2 Invert` - Choose if you would like to flip the X or Y axis Analog joystick 2 inputs (or both). -- `Deadzone Size (%)` - Enter the % value of dead zone you would like on the analog joysticks. -- `Forced Circularity` - Force the analog joysticks to be bound within a perfect circle. This can be beneficial for certain games. However, be aware that this may negatively impact some games which account for sticks moving outside of a circle. -- `Auto Calibration` - Automatically centers the analog joysticks. This works by reading in the offset from center during boot and then accounts for that until the next power cycle. This can be helpful for analog joysticks experiencing drift. - -## Hardware - -### Requirements - -A minimum of one hardware analog joystick is required for the use of this add-on. Each joystick will have at least 4 pins, one for each of the following. - -- Reference Voltage (ADC_VREF/3.3V) -- X-Axis Input Voltage (Vx) -- Y-Axis Input Voltage (Vy) -- Ground (GND) - -Each axis input voltage pin requires an Analog to Digital Converter (ADC) pin to operate. As such, some boards may have a limit on the maximum number of possible joysticks that can be used (e.g. the Raspberry Pi Pico only has 3 ADC pins available so only 1 joystick can be used). - -:::note Joystick Buttons - -The analog joystick may have an additional pin for the joystick button. This can be connected to any GPIO pin and used as a regular button. - -::: - -### Installation - -Connect the pins of the analog joystick to the board as follows and then set the GPIO pin values in `Web Configurator > Configurations > Add-Ons > Analog`. - -- Reference Voltage (ADC_VREF/3.3V) -> ADC_VREF/3.3V Pin -- X-Axis Input Voltage (Vx) -> Any ADC GPIO Pin -- Y-Axis Input Voltage (Vy) -> Any ADC GPIO Pin -- Ground (GND) -> Any GND Pin - -The specific location of the ADC pins on your board will vary depending on the design and manufacturer, but they will always be one of the following GPIO pins on the RP2040 - -- GPIO 26 -- GPIO 27 -- GPIO 28 -- GPIO 29 - -## Miscellaneous Notes - -Both potentiometer and Hall Effect based joysticks are supported, provided that they use a 3.0-3.3V reference voltage and output voltages in the range of 0-3.3V as an input for the RP2040. This is because the GPIO pins for the RP2040 utilize 3.3V logic and are not 5V-safe. +--- +title: Analog +# tags: +# - +pagination_next: null +pagination_prev: null +description: "Add-on to use hardware analog joysticks with GP2040-CE" +--- + +# Analog + +Purpose: This add-on is intended for the use of an hardware analog joystick with GP2040-CE for the left and right analog sticks of the gamepad. + +![GP2040-CE Configurator - Add-Ons Analog](../assets/images/gpc-add-ons-analog.png) + +## Web Configurator Options + +- `Analog Stick 1 X Pin` - The GPIO pin used for the Analog joystick 1 X value. Only ADC pins 26, 27, 28 and 29 are allowed here. +- `Analog Stick 1 Y Pin` - The GPIO pin used for the Analog joystick 1 Y value. Only ADC pins 26, 27, 28 and 29 are allowed here. +- `Analog Stick 1 Mode` - Choose if Analog joystick 1 is to be used for Left Analog or Right Analog. +- `Analog joystick 1 Invert` - Choose if you would like to flip the X or Y axis Analog Stick 1 inputs (or both). +- `Analog joystick 2 X Pin` - The GPIO pin used for the Analog Stick 2 X value. Only ADC pins 26, 27, 28 and 29 are allowed here. +- `Analog joystick 2 Y Pin` - The GPIO pin used for the Analog Stick 2 Y value. Only ADC pins 26, 27, 28 and 29 are allowed here. +- `Analog joystick 2 Mode` - Choose if Analog Stick 2 is to be used for Left Analog or Right Analog (must be different than Analog Stick 1). +- `Analog joystick 2 Invert` - Choose if you would like to flip the X or Y axis Analog joystick 2 inputs (or both). +- `Deadzone Size (%)` - Enter the % value of dead zone you would like on the analog joysticks. +- `Forced Circularity` - Force the analog joysticks to be bound within a perfect circle. This can be beneficial for certain games. However, be aware that this may negatively impact some games which account for sticks moving outside of a circle. +- `Auto Calibration` - Automatically centers the analog joysticks. This works by reading in the offset from center during boot and then accounts for that until the next power cycle. This can be helpful for analog joysticks experiencing drift. + +## Hardware + +### Requirements + +A minimum of one hardware analog joystick is required for the use of this add-on. Each joystick will have at least 4 pins, one for each of the following. + +- Reference Voltage (ADC_VREF/3.3V) +- X-Axis Input Voltage (Vx) +- Y-Axis Input Voltage (Vy) +- Ground (GND) + +Each axis input voltage pin requires an Analog to Digital Converter (ADC) pin to operate. As such, some boards may have a limit on the maximum number of possible joysticks that can be used (e.g. the Raspberry Pi Pico only has 3 ADC pins available so only 1 joystick can be used). + +:::note Joystick Buttons + +The analog joystick may have an additional pin for the joystick button. This can be connected to any GPIO pin and used as a regular button. + +::: + +### Installation + +Connect the pins of the analog joystick to the board as follows and then set the GPIO pin values in `Web Configurator > Configurations > Add-Ons > Analog`. + +- Reference Voltage (ADC_VREF/3.3V) -> ADC_VREF/3.3V Pin +- X-Axis Input Voltage (Vx) -> Any ADC GPIO Pin +- Y-Axis Input Voltage (Vy) -> Any ADC GPIO Pin +- Ground (GND) -> Any GND Pin + +The specific location of the ADC pins on your board will vary depending on the design and manufacturer, but they will always be one of the following GPIO pins on the RP2040 + +- GPIO 26 +- GPIO 27 +- GPIO 28 +- GPIO 29 + +## Miscellaneous Notes + +Both potentiometer and Hall Effect based joysticks are supported, provided that they use a 3.0-3.3V reference voltage and output voltages in the range of 0-3.3V as an input for the RP2040. This is because the GPIO pins for the RP2040 utilize 3.3V logic and are not 5V-safe. diff --git a/docs/add-ons/bootsel-button.mdx b/docs/add-ons/bootsel-button.mdx index e1d99a4..afebaad 100644 --- a/docs/add-ons/bootsel-button.mdx +++ b/docs/add-ons/bootsel-button.mdx @@ -1,32 +1,32 @@ ---- -title: BOOTSEL Button Configuration -# tags: -# - -pagination_next: null -pagination_prev: null -description: "Add-on to use the BOOTSEL button as an additional button input" ---- - -# BOOTSEL Button Configuration - -Purpose: This add-on is mean to allow for the use of a BOOTSEL button to be used as an additional button input. - -![GP2040-CE Configurator - Add-Ons BOOTSEL Button Configuration](../assets/images/gpc-add-ons-bootsel-button.png) - -## Web Configurator Options - -- `BOOTSEL Button` - Choose an input to be mapped to the BOOTSEL button. - -## Hardware - -### Requirements - -This add-on can only be used on devices that have a BOOTSEL button. - -### Installation - -There are no installation instructions for this add-on. - -## Miscellaneous Notes - -The OLED might become unresponsive if this button is set. You can unset it to restore OLED functionality. +--- +title: BOOTSEL Button Configuration +# tags: +# - +pagination_next: null +pagination_prev: null +description: "Add-on to use the BOOTSEL button as an additional button input" +--- + +# BOOTSEL Button Configuration + +Purpose: This add-on is mean to allow for the use of a BOOTSEL button to be used as an additional button input. + +![GP2040-CE Configurator - Add-Ons BOOTSEL Button Configuration](../assets/images/gpc-add-ons-bootsel-button.png) + +## Web Configurator Options + +- `BOOTSEL Button` - Choose an input to be mapped to the BOOTSEL button. + +## Hardware + +### Requirements + +This add-on can only be used on devices that have a BOOTSEL button. + +### Installation + +There are no installation instructions for this add-on. + +## Miscellaneous Notes + +The OLED might become unresponsive if this button is set. You can unset it to restore OLED functionality. diff --git a/docs/add-ons/buzzer-speaker.mdx b/docs/add-ons/buzzer-speaker.mdx index 3729374..c89acef 100644 --- a/docs/add-ons/buzzer-speaker.mdx +++ b/docs/add-ons/buzzer-speaker.mdx @@ -1,37 +1,37 @@ ---- -title: Buzzer Speaker -# tags: -# - -pagination_next: null -pagination_prev: null -description: "Add-on to add a buzzer to your controller" ---- - -# Buzzer Speaker - -Purpose: This add-on is intended to allow you to add a buzzer to your GP2040-CE device and play sounds. - -![GP2040-CE Configurator - Add-Ons Buzzer](../assets/images/gpc-add-ons-buzzer.png) - -## Web Configurator Options - -- `Use buzzer` - Turns on/off the buzzer module. -- `Buzzer Pin` - The GPIO pin used for the buzzer. -- `Buzzer Volume` - Audio volume of buzzer. Ranges from 0-100. - -## Hardware - -### Requirements - -- 3-3.3V Piezo speaker - -The speaker only needs to have pins for power (VCC) and ground (GND). If there is an I/O pin on speaker, you can jump the pins and use only the VCC connected to RP2040 GPIO pin. - -### Installation - -- Plug into GPIO pin on board to VCC on speaker -- Enter GPIO pin into web config - -## Miscellaneous Notes - -None +--- +title: Buzzer Speaker +# tags: +# - +pagination_next: null +pagination_prev: null +description: "Add-on to add a buzzer to your controller" +--- + +# Buzzer Speaker + +Purpose: This add-on is intended to allow you to add a buzzer to your GP2040-CE device and play sounds. + +![GP2040-CE Configurator - Add-Ons Buzzer](../assets/images/gpc-add-ons-buzzer.png) + +## Web Configurator Options + +- `Use buzzer` - Turns on/off the buzzer module. +- `Buzzer Pin` - The GPIO pin used for the buzzer. +- `Buzzer Volume` - Audio volume of buzzer. Ranges from 0-100. + +## Hardware + +### Requirements + +- 3-3.3V Piezo speaker + +The speaker only needs to have pins for power (VCC) and ground (GND). If there is an I/O pin on speaker, you can jump the pins and use only the VCC connected to RP2040 GPIO pin. + +### Installation + +- Plug into GPIO pin on board to VCC on speaker +- Enter GPIO pin into web config + +## Miscellaneous Notes + +None diff --git a/docs/add-ons/dual-direction-input.mdx b/docs/add-ons/dual-direction-input.mdx index 7ede9dd..8419131 100644 --- a/docs/add-ons/dual-direction-input.mdx +++ b/docs/add-ons/dual-direction-input.mdx @@ -1,58 +1,58 @@ ---- -title: Dual Directional Input -# tags: -# - -pagination_next: null -pagination_prev: null -description: "Add-on to add more digital DPad, left analog stick, and right analog stick directional inputs to your controller" ---- - -# Dual Directional Input - -Purpose: This add-on is intended to allow additional digital buttons to be used for directional inputs with either the D-Pad, or the cardinal directions of the Left and Right analog joystick at maximum magnitude. - -![GP2040-CE Configuration - Add-Ons Dual Directional Input](../assets/images/gpc-add-ons-dual-directional.png) - -## Web Configurator Options - -:::info GPIO Pin Mapping Moved - -The pin(s) are now configured on the [Pin Mapping page](../web-configurator/menu-pages/02-pin-mapping.mdx) by choosing the correct option for the selected pin. - -- DDI Up -- DDI Down -- DDI Left -- DDI Right - -::: - -- `Dual D-Pad Mode` - Choose if this should act as an additional instance of a D-Pad, Left analog joystick, or Right analog joystick. -- `Combination Mode` - Choose how these direction inputs should be combined with gamepad directions. -- `Dual Directional 4-Way Joystick Mode` - Enables 4-Way Joystick mode on the DDI Joystick, which will prevent non-cardinal directions from registering. When a second cardinal direction input is received, the gamepad direction will change to the newest cardinal direction, similar to [SOCD Last Win](../hotkeys.mdx#socd-last-win). - -### Dual D-Pad Mode Values - -- `D-PAD` for D-Pad mode. -- `Left Analog` for Left analog joystick mode. -- `Right Analog` for Right analog joystick mode. - -### Combination Mode - -- `Mixed` - Combines both the Gamepad directions and Dual Direction Input directions and allows for all 3 SOCD modes. -- `Gamepad` - Gamepad always takes over when pressed, otherwise Gamepad and Dual act independently. -- `Dual Directional` - Dual always takes over when pressed, otherwise Gamepad and Dual act independently. -- `None` - Gamepad input and dual directional act independently of each other. - -## Hardware - -### Requirements - -Additional buttons are required for each of the additional directions desired. - -### Installation - -For each button, connect one side of the button to their respective GPIO pin as assigned in the Web Configurator. Connect the other side of the buttons to GND. - -## Miscellaneous Notes - -"Gamepad direction" refers to the core directions ("Up"), whereas "Dual Direction Input directions" refers to the directions used by this add-on ("DDI Up"). +--- +title: Dual Directional Input +# tags: +# - +pagination_next: null +pagination_prev: null +description: "Add-on to add more digital DPad, left analog stick, and right analog stick directional inputs to your controller" +--- + +# Dual Directional Input + +Purpose: This add-on is intended to allow additional digital buttons to be used for directional inputs with either the D-Pad, or the cardinal directions of the Left and Right analog joystick at maximum magnitude. + +![GP2040-CE Configuration - Add-Ons Dual Directional Input](../assets/images/gpc-add-ons-dual-directional.png) + +## Web Configurator Options + +:::info GPIO Pin Mapping Moved + +The pin(s) are now configured on the [Pin Mapping page](../web-configurator/menu-pages/02-pin-mapping.mdx) by choosing the correct option for the selected pin. + +- DDI Up +- DDI Down +- DDI Left +- DDI Right + +::: + +- `Dual D-Pad Mode` - Choose if this should act as an additional instance of a D-Pad, Left analog joystick, or Right analog joystick. +- `Combination Mode` - Choose how these direction inputs should be combined with gamepad directions. +- `Dual Directional 4-Way Joystick Mode` - Enables 4-Way Joystick mode on the DDI Joystick, which will prevent non-cardinal directions from registering. When a second cardinal direction input is received, the gamepad direction will change to the newest cardinal direction, similar to [SOCD Last Win](../hotkeys.mdx#socd-last-win). + +### Dual D-Pad Mode Values + +- `D-PAD` for D-Pad mode. +- `Left Analog` for Left analog joystick mode. +- `Right Analog` for Right analog joystick mode. + +### Combination Mode + +- `Mixed` - Combines both the Gamepad directions and Dual Direction Input directions and allows for all 3 SOCD modes. +- `Gamepad` - Gamepad always takes over when pressed, otherwise Gamepad and Dual act independently. +- `Dual Directional` - Dual always takes over when pressed, otherwise Gamepad and Dual act independently. +- `None` - Gamepad input and dual directional act independently of each other. + +## Hardware + +### Requirements + +Additional buttons are required for each of the additional directions desired. + +### Installation + +For each button, connect one side of the button to their respective GPIO pin as assigned in the Web Configurator. Connect the other side of the buttons to GND. + +## Miscellaneous Notes + +"Gamepad direction" refers to the core directions ("Up"), whereas "Dual Direction Input directions" refers to the directions used by this add-on ("DDI Up"). diff --git a/docs/add-ons/focus-mode.mdx b/docs/add-ons/focus-mode.mdx index 592b52d..b1cd36d 100644 --- a/docs/add-ons/focus-mode.mdx +++ b/docs/add-ons/focus-mode.mdx @@ -1,34 +1,34 @@ ---- -title: Focus Mode Configuration -# tags: -# - -pagination_next: null -pagination_prev: null -description: "Add-on to disable functions and inputs while Focus Mode is enabled" ---- - -# Focus Mode Configuration - -Purpose: This add-on is intended to allow you to disable a number of functions or inputs while Focus Mode is enabled, but otherwise still retain access to them. - -![GP2040-CE Configurator - Focus Mode](../assets/images/gpc-add-ons-focus-mode.png) - -## Web Configurator Options - -- `Focus Mode Pin` - The GPIO pin used to enable Focus Mode -- `Lock Macro` - When enabled, macro triggers will not activate macro sequences during Focus Mode -- `Lock Buttons` - When enabled, listed inputs will not be sent during Focus Mode. As inputs are added, new dropdowns will appear for additional inputs. - -## Hardware - -### Requirements - -The GPIO pin set in `Focus Mode Pin` needs to be brought and kept low to remain active. A toggle switch, slide toggle, or latching switch is necessary for proper use of this add-on. - -### Installation - -Installation will depend on whether a toggle switch, slide toggle, or latching switch is used. In general, on one side of the switch, connect the pin to the GPIO pin set in `Focus Mode Pin`. On the other side of the switch or the center if there are 3 contacts, connect it to any GND pin. - -## Miscellaneous Notes - -None. +--- +title: Focus Mode Configuration +# tags: +# - +pagination_next: null +pagination_prev: null +description: "Add-on to disable functions and inputs while Focus Mode is enabled" +--- + +# Focus Mode Configuration + +Purpose: This add-on is intended to allow you to disable a number of functions or inputs while Focus Mode is enabled, but otherwise still retain access to them. + +![GP2040-CE Configurator - Focus Mode](../assets/images/gpc-add-ons-focus-mode.png) + +## Web Configurator Options + +- `Focus Mode Pin` - The GPIO pin used to enable Focus Mode +- `Lock Macro` - When enabled, macro triggers will not activate macro sequences during Focus Mode +- `Lock Buttons` - When enabled, listed inputs will not be sent during Focus Mode. As inputs are added, new dropdowns will appear for additional inputs. + +## Hardware + +### Requirements + +The GPIO pin set in `Focus Mode Pin` needs to be brought and kept low to remain active. A toggle switch, slide toggle, or latching switch is necessary for proper use of this add-on. + +### Installation + +Installation will depend on whether a toggle switch, slide toggle, or latching switch is used. In general, on one side of the switch, connect the pin to the GPIO pin set in `Focus Mode Pin`. On the other side of the switch or the center if there are 3 contacts, connect it to any GND pin. + +## Miscellaneous Notes + +None. diff --git a/docs/add-ons/i2c-analog-ads1219.mdx b/docs/add-ons/i2c-analog-ads1219.mdx index 6494240..6fdcd9b 100644 --- a/docs/add-ons/i2c-analog-ads1219.mdx +++ b/docs/add-ons/i2c-analog-ads1219.mdx @@ -1,68 +1,68 @@ ---- -title: I2C Analog ADS1219 -# tags: -# - -pagination_next: null -pagination_prev: null -description: "Add-on to use an ADS1219 ADC for Left and Right analog joysticks on your controller" ---- - -import I2CTable from "../snippets/_i2c-block-table.mdx"; - -# I2C Analog ADS1219 - -Purpose: This add-on is intended to allow you to add Left and Right analog joystick functionality using the ADS1219 24-bit, analog-to-digital -converter (ADC). - -![GP2040-CE Configurator - Add-Ons ADS1219](../assets/images/gpc-add-ons-ads1219.png) - -## Web Configurator Options - -:::info GPIO Pin Assignment - -The SDA and SCL pins for I2C and speed are now configured in [`Configuration > Peripheral Mapping - I2C`](../web-configurator/menu-pages/03-peripheral-mapping.mdx#i2c). - -::: - -- `I2C Analog ADS1219 Block` - The block of I2C to use (i2c0 or i2c1). -- `I2C Analog ADS1219 Address` - Sets the address for the I2C Analog ADS1219 based on the pins used for SDA and SCL according to the table below. - -| A0 | A1 | I2C Address | -| :-: | --- | :---------: | -| SDA | SCL | 1001110 | -| SCL | SDA | 1001011 | - -## Hardware - -### Requirements - -This add-on requires an ADS1219 analog-to-digital converter (ADC) to function properly. - -### Installation - -Connect the pins on the ADS1219 according to the table below - -| ADS1219 Pin | Function | -| :---------: | ---------------------------- | -| A0 | SDA or SCL | -| A1 | SDA or SCL | -| AIN0 | Left analog joystick X-Axis | -| AIN1 | Left analog joystick Y-Axis | -| AIN2 | Right analog joystick X-Axis | -| AIN3 | Right analog joystick Y-Axis | - -