Love that we’re getting new voices joining our little circle :-)

Share some of the sexy or non-sexy naughty fun you’ve been up to!

  • demonologic
    link
    English
    4
    edit-2
    8 months ago

    I’d die of embarrasment, it’s terrible code.

    I just did a couple of searches and found this example of how you can use SDL2 for the rumble, then found this post on SO on how you read button states, and then sort of banged those together until I could control the intensity and also make it “pulse”, but everything’s kind of stupidly done and deserves to be buried in an unmarked grave. And the controller really isn’t a very good vibrator, regardless of code quality 😆

    You can do a very simple one with just the stuff in the first link though, if you want to give it a whirl. I started off with just that and then ran it in a loop with watch and a bit of delay to get a pulsing effect