Arduino Custom Controller Issue

Discussion in 'Off Topic' started by veggiemite#1292, Jul 3, 2024.

  1. veggiemite#1292

    veggiemite#1292 New Member

    Joined:
    Jul 3, 2024
    Messages:
    2
    Likes Received:
    0
    Hi Everyone!
    So a while ago I started building a custom physical controller for TSW4, I currently play on Xbox 1, the controller is made using an Arduino Leonardo, and it is essentially emulating a USB keyboard, which when plugged into the xbox, allows me to control the game.
    So far has been so good, as like 80% of the controls work! However, the apostrophe key (‘) is needed to reduce the automatic brakes, and it’s the only key not working and I’m completely stumped as to why. Especially because basically ALL other keys are working.
    A few of the solutions I have tried are as below:
    - every version of outputting the apostrophe key, including /‘ it’s hex code, it’s UIC code and even defining the key in its own header file.
    - tried every possible UIC code to see if it was mapped elsewhere
    - tried every hex code to see if it was mapped elsewhere

    I have narrowed it down to the game that is the issue as (after god knows how much trial and error) I have ruled out the issue as not being:
    My code (runs fine)
    The Arduino (outputs apostrophe fine)
    The Xbox (receives and presses the apostrophe)

    I don’t know if the game is looking for anything different that I’m not sending but I’m generally at a loss. I appreciate this is a big long rant but if anyone has any suggestions or tips that would be amazing.
    Thanks :)
     
  2. aeronautic237

    aeronautic237 Well-Known Member

    Joined:
    Sep 1, 2022
    Messages:
    3,389
    Likes Received:
    3,293
  3. veggiemite#1292

    veggiemite#1292 New Member

    Joined:
    Jul 3, 2024
    Messages:
    2
    Likes Received:
    0
    Ah, thank you for sharing that with me though.
     

Share This Page