{"action":"created","issue":{"url":"https://api.github.com/repos/libretro/mupen64plus-libretro/issues/299","repository_url":"https://api.github.com/repos/libretro/mupen64plus-libretro","labels_url":"https://api.github.com/repos/libretro/mupen64plus-libretro/issues/299/labels{/name}","comments_url":"https://api.github.com/repos/libretro/mupen64plus-libretro/issues/299/comments","events_url":"https://api.github.com/repos/libretro/mupen64plus-libretro/issues/299/events","html_url":"https://github.com/libretro/mupen64plus-libretro/issues/299","id":133885886,"number":299,"title":"Input mapping issue- cannot map individual buttons to C buttons","user":{"login":"mitchellcairns","id":17264919,"avatar_url":"https://avatars.githubusercontent.com/u/17264919?v=3","gravatar_id":"","url":"https://api.github.com/users/mitchellcairns","html_url":"https://github.com/mitchellcairns","followers_url":"https://api.github.com/users/mitchellcairns/followers","following_url":"https://api.github.com/users/mitchellcairns/following{/other_user}","gists_url":"https://api.github.com/users/mitchellcairns/gists{/gist_id}","starred_url":"https://api.github.com/users/mitchellcairns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitchellcairns/subscriptions","organizations_url":"https://api.github.com/users/mitchellcairns/orgs","repos_url":"https://api.github.com/users/mitchellcairns/repos","events_url":"https://api.github.com/users/mitchellcairns/events{/privacy}","received_events_url":"https://api.github.com/users/mitchellcairns/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-16T04:58:07Z","updated_at":"2016-04-26T04:50:12Z","closed_at":null,"body":"As is, there are two options for mapping C buttons.\r\n\r\n1. C buttons are mapped to analog \r\n2. C buttons are mapped to face buttons, but require a toggle button to be held to become functional.\r\n\r\nThis is poor design choice as it assumes that the user only has a controller with two face buttons aside from a D-Pad. For example, I own an N64 USB pad replica... I cannot map the C buttons to be C buttons because of the current method of configuration. \r\n\r\nAn example configuration is to map the Retropad A and X buttons to C up and C down respectively... this is especially useful for games like Super Smash Bros which requires the jump button to be next to the other two buttons- this is how it would naturally be on the real gamepad and games are designed in this fashion. Simultaneously, I have the C left and C right mapped to the right joystick of my controller. There shouldn't be any issue in this.\r\n\r\nPlease, developers, allow for individual mapping of the C buttons, it will make the input less of a headache for everyone. It would be beneficial to include the toggle method for users with the less-than-optimal number of buttons, but for most people we will probably want to be able to map individual C buttons to other areas of the controller for maximum compatibility with more games.\r\n\r\nThank you for your work in making a wonderful N64 emulator and I hope this can improve it!"},"comment":{"url":"https://api.github.com/repos/libretro/mupen64plus-libretro/issues/comments/214615677","html_url":"https://github.com/libretro/mupen64plus-libretro/issues/299#issuecomment-214615677","issue_url":"https://api.github.com/repos/libretro/mupen64plus-libretro/issues/299","id":214615677,"user":{"login":"superjamie","id":1500466,"avatar_url":"https://avatars.githubusercontent.com/u/1500466?v=3","gravatar_id":"","url":"https://api.github.com/users/superjamie","html_url":"https://github.com/superjamie","followers_url":"https://api.github.com/users/superjamie/followers","following_url":"https://api.github.com/users/superjamie/following{/other_user}","gists_url":"https://api.github.com/users/superjamie/gists{/gist_id}","starred_url":"https://api.github.com/users/superjamie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superjamie/subscriptions","organizations_url":"https://api.github.com/users/superjamie/orgs","repos_url":"https://api.github.com/users/superjamie/repos","events_url":"https://api.github.com/users/superjamie/events{/privacy}","received_events_url":"https://api.github.com/users/superjamie/received_events","type":"User","site_admin":false},"created_at":"2016-04-26T04:50:12Z","updated_at":"2016-04-26T04:50:12Z","body":"I think I understand what the problem is here.\r\n\r\nThe RetroArch menu has Input configuration for a SNES-style controller with Analog sticks, meaning it asks you what ABXY are in SNES layout, and what analog sticks are in PlayStation layout.\r\n\r\nOnce you have a controller configured, RetroArch maps those PS3-style configurations to the weirdo N64 controller layout. The best example I can find is this image:\r\n\r\n![](https://cloud.githubusercontent.com/assets/10035308/7334793/6b406d8c-eb5b-11e4-8474-56a340521e71.png)\r\n\r\nSource: https://github.com/retropie/retropie-setup/wiki/Nintendo-64\r\n\r\nSo you can see whatever is configured as the \"Right Analog\" stick in RetroArch becomes the C-buttons when using the libretro-mupen64plus core.\r\n\r\nHowever, here is the key point: **You don't need to configure an analog axis as the \"Right Analog Stick\" in the RetroArch menu. You can configure buttons!**\r\n\r\nThis is working fine for me with an N64-to-USB adaptor. I configure the C-buttons as the Right Analog Stick in the RetroArch menu. When I get into a game, the C-buttons on my controller behave just like the C-buttons do with the cartridge in the console.\r\n\r\nIf this isn't working for you, then it might be helpful to the devs if you explain exactly what controller you're using, what you're doing to configure it, what result you expect, and what result you actually get."}}