RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    ColecoVision Joystick rotated 1/4 turn left

    Scheduled Pinned Locked Moved Help and Support
    colecovisioncolecocoolcvjoystick mappin
    8 Posts 3 Posters 1.7k 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.
    • J
      Joker
      last edited by Joker

      I have a weird question. Based on my readings on the various topics already posted, I was able to get almost all key mappings to work except the reset. Not sure why but I will leave that for another day.

      The joystick under all other emulators works fine however CoolCV decided that

      up = left
      left = down
      right = up
      down = right

      Effectively if you were to take the joystick and turn it a quarter turn to the left from it's normal orientation you would get proper usage under CoolCV. Any ideas on how to fix this?

      Using RPi 3, RetroPie 4.2.1 joystick shows up as DragonRise Inc. Generic USB Joystick when you look at it under jtest /dev/input/js0

      Here is my coolcv_mapping.txt for reference.

      ' CoolCV mappings for Colecovision controllers to keyboard and joystick
      up_1	key1073741906
      right_1	key1073741903
      down_1	key1073741905
      left_1	key1073741904
      left_button_1	key32	joy0_0
      right_button_1	key109	joy0_1
      button3_1	key1073741939
      button4_1	key1073741939
      key1_1	key49 joy0_0
      key2_1	key50 joy0_1
      key3_1	key51 joy0_2
      key4_1	key52 joy0_3
      key5_1	key53 joy0_4
      key6_1	key54 joy0_5
      key7_1	key55 joy0_6
      key8_1	key56 joy0_7
      key9_1	key57
      key*_1	key111
      key0_1	key48
      key#_1	key112
      up_2	key119
      right_2	key100
      down_2	key115
      left_2	key97
      left_button_2	key9	joy1_0
      right_button_2	key113	joy1_1
      button3_2	key1073741939
      button4_2	key1073741939
      key1_2	key114 joy1_0
      key2_2	key116 joy1_1
      key3_2	key121 joy1_2
      key4_2	key102 joy1_3
      key5_2	key103 joy1_4
      key6_2	key104 joy1_5
      key7_2	key118 joy1_6
      key8_2	key98 joy1_7
      key9_2	key110
      key*_2	key106
      key0_2	key107
      key#_2	key108
      key_save	key1073741882
      key_restore	key1073741883
      key_exit	key1073741939 joy0_10
      key_pause	key1073741884
      key_reset	key8
      
      edmaul69E 1 Reply Last reply Reply Quote 0
      • mediamogulM
        mediamogul Global Moderator
        last edited by mediamogul

        @Joker

        After looking at an SDL Keycode chart, it appears as though CoolCV has everything mapped correctly. It must be that the DragonRise that is a quarter turn off. When you mapped your controller in Emulation Station, it also mapped several of the emulators automatically based on the button presses you entered. However, any changes to CoolCV need to be made manually in the coolcv_mapping.txt file you listed above. To fix your issue, you'll need to rotate the keycodes to match the DragonRise. Based on how you said it's shifted, it should be:

        up_1	key1073741903
        right_1	key1073741905
        down_1	key1073741904
        left_1	key1073741906
        

        RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

        1 Reply Last reply Reply Quote 1
        • J
          Joker
          last edited by

          That is what I thought as well. Gave that a go and it definitely made for interesting gameplay from a keyboard but didn't seem to make a difference on the joystick.

          That being said, you did bring up a very valid point that i never considered. Maybe I needed to focus on remapping retroarch versus coolCV...

          In any case, remapping in retroarch to match coolCV solved the issue.

          Well there is a bunch of hours and of clumps of hair I won't get back :(.

          Thank for the help.

          1 Reply Last reply Reply Quote 0
          • edmaul69E
            edmaul69 @Joker
            last edited by edmaul69

            @Joker @mediamogul my mapping is different. mine is for the intv-daptor and ulimate pc adapter. however oscar had them mapped differently than what you have. here is my fully working config even with reset button:

            ' CoolCV mappings for Colecovision controllers to keyboard and joystick
            up_1	key1073741906
            right_1	key1073741903
            down_1	key1073741905
            left_1	key1073741904
            left_button_1	key32	joy0_0
            right_button_1	key109	joy0_1
            button3_1	key1073741939	joy0_2
            button4_1	key1073741939	joy0_3
            key1_1	key49	joy0_8
            key2_1	key50	joy0_9
            key3_1	key51	joy0_10
            key4_1	key52	joy0_11
            key5_1	key53	joy0_12
            key6_1	key54	joy0_13
            key7_1	key55	joy0_14
            key8_1	key56	joy0_15
            key9_1	key57	joy0_16
            key*_1	key111	joy0_17
            key0_1	key48	joy0_18
            key#_1	key112	joy0_19
            up_2	key119
            right_2	key100
            down_2	key115
            left_2	key97
            left_button_2	key9	joy1_0
            right_button_2	key113	joy1_1
            button3_2	key1073741939	joy1_2
            button4_2	key1073741939	joy1_3
            key1_2	key114	joy1_8
            key2_2	key116	joy1_9
            key3_2	key121	joy1_10
            key4_2	key102	joy1_11
            key5_2	key103	joy1_12
            key6_2	key104	joy1_13
            key7_2	key118	joy1_14
            key8_2	key98	joy1_15
            key9_2	key110	joy1_16
            key*_2	key106	joy1_17
            key0_2	key107	joy1_18
            key#_2	key108	joy1_19
            key_save	key1073741882
            key_restore	key1073741883
            key_exit	key27	joy0_5
            key_pause	key1073741884	joy0_20
            key_reset	key8	joy0_4
            
            mediamogulM 1 Reply Last reply Reply Quote 0
            • mediamogulM
              mediamogul Global Moderator @edmaul69
              last edited by mediamogul

              @edmaul69

              Mine's whatever the default is. I just mapped an xboxdrv scheme around it for a set of Logitech controllers. I envy your setup though. Playing these games with the original controllers on the Pi is amazing. Do you print out or have repros of the overlays?

              RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

              edmaul69E 1 Reply Last reply Reply Quote 0
              • edmaul69E
                edmaul69 @mediamogul
                last edited by

                @mediamogul for the intellivision flashback they sold the overlays which is 60 pairs. so i have those plus a few originals. Then i have the overlays for about 80% of the homebrews. Then i have a set for stella for both the intellivision/flashback and coleco flashback controllers. Then for the coleco i only have the 5 pairs that came with the coleco flashback. But i do love using the original controllers. I need to buy the daptor for the 5200 and one for the astrocade and get those controllers and and msx controller and i would be pretty complete. They are on my stuff to get list. I need to finish getting the stuff i need to make my apple iie pi complete first. Most would see it as complete but i am going overboard to the extreme. Cant wait until i finish so i can post pics.

                mediamogulM 1 Reply Last reply Reply Quote 0
                • mediamogulM
                  mediamogul Global Moderator @edmaul69
                  last edited by

                  @edmaul69

                  60 pairs... a few originals... i have a set for stella... Then for the coleco i only have the 5 pairs.

                  Do you store them in any particular way, or do you just pile them up?

                  Cant wait until i finish so i can post pics.

                  I look forward to seeing those.

                  RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                  edmaul69E 1 Reply Last reply Reply Quote 0
                  • edmaul69E
                    edmaul69 @mediamogul
                    last edited by edmaul69

                    @mediamogul the flashback ones came in two small ziplock baggies. Then i put my homebrew ones in a small ziplock baggie as well.

                    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.