Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    Analogue joystick through I2C

    Recalbox General
    raspberry pi analogue
    2
    4
    1782
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • jorrit-van-der-laan
      jorrit-van-der-laan last edited by

      Hi, can anyone tell me if this analogue joystick can be recognized by recalbox on a RPi B+? If I hook it up to my Pi I can read it through both I2C (with a ADC in between) or directly on GPIO with a python script. http://www.seeedstudio.com/depot/Grove-Thumb-Joystick-p-935.html Do I need to create a new driver for this (or maybe it is already available?)? Hope someone has already done something like this. Recalbox sounds like a very nice initiative! Kind regards, Jorrit

      1 Reply Last reply Reply Quote 0
      • jorrit-van-der-laan
        jorrit-van-der-laan last edited by

        Any1 any thoughts on this?

        1 Reply Last reply Reply Quote 0
        • digitaLumberjack
          digitaLumberjack Staff last edited by

          Hi, I don't really know if there is a driver already made for that. What i can say is that you will have to convert the analog signal in digital as you said. RPi has no analog gpio 🙂

          1 Reply Last reply Reply Quote 0
          • jorrit-van-der-laan
            jorrit-van-der-laan last edited by

            Hi digitalLumberjack, thx for the input. I know about the conversion, no problem there. However, the eventual input I am getting is a range of numbers that I somehow have to map to something that the recalbox recognizes. Any thoughts on that?

            1 Reply Last reply Reply Quote 0
            • First post
              Last post

            Want to support us ?

            69
            Online

            98.7k
            Users

            28.1k
            Topics

            187.0k
            Posts

            Copyright © 2021 recalbox.com