none
VISUAL BASIC - Xbox controller connection rumble RRS feed

  • Question

  • Hello! I have already found many sources online about visual basic and hooking up an Xbox 360 controller, but not for vibration on the controller. I would like to be able to start and stop vibration for a morse code system. Thank you!
    • Edited by Jackathon Monday, July 23, 2018 2:55 AM
    Monday, July 23, 2018 2:55 AM

Answers

  • Nvm i found it you just need to reference XNA and put in 

    GamePad.SetVibration(PlayerIndex.One, 1, 1)

    • Proposed as answer by Alex Li-MSFT Monday, July 23, 2018 7:27 AM
    • Marked as answer by Jackathon Wednesday, July 25, 2018 7:47 PM
    Monday, July 23, 2018 3:12 AM

All replies

  • Nvm i found it you just need to reference XNA and put in 

    GamePad.SetVibration(PlayerIndex.One, 1, 1)

    • Proposed as answer by Alex Li-MSFT Monday, July 23, 2018 7:27 AM
    • Marked as answer by Jackathon Wednesday, July 25, 2018 7:47 PM
    Monday, July 23, 2018 3:12 AM
  • Hi

    Is your problem solved? If so, please mark the useful replies as answers. 

    Best Regards,

    Alex


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Monday, July 23, 2018 7:28 AM