RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Retropie Newbie and Camera Module?

    Scheduled Pinned Locked Moved General Discussion and Gaming
    ps2 wireless
    2 Posts 2 Posters 1.4k Views
    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.
    • B
      brianmcm
      last edited by

      I've been doing research towards building a Raspberry Pi based mobile platform that I'd like to control using a wireless PS2 controller and incorporate the Pi camera module. On my research for using the wireless PS2 controller with the Raspberry Pi, I'm consistently pointed towards RetroPie. Therefore my question is can I write Python programs in RetroPie to control items such as servos and motors with PS2 and use the Camera Module?

      Thanks, Brian

      herb_fargusH 1 Reply Last reply Reply Quote 0
      • herb_fargusH
        herb_fargus administrators @brianmcm
        last edited by

        @brianmcm these are really more Linux specific / raspberry pi specific questions rather than retropie. RetroPie has some modules for getting dualshock controllers running .

        I've done some camera module stuff on the side but I mostly used crontab and spoofed the time on the pi to create a mobile schedule to automatically start, take pics every minute or so, and then to shut down after 8 hours of use.

        As far as integrating it I'm sure there is probably some way either through something like the Linux joystick remapper or some custom code to link your Python scripts to your key presses, or technically I guess you could utilise the functions from the RetroPie setup script, you could technically add custom code that adds a menu for your functions and then it will just use the default joy2key implementation for selecting through the dialog GUI

        If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

        Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

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

        Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

        Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.