Results 1 to 6 of 6
  1. #1
    EmuTalk Member
    Join Date
    Mar 2012
    Posts
    3

    Question Failed to remap keyboard key

    Hi everyone,
    I have mupen64plus 1.99.4 installed on my Ubuntu box and its working fine.
    Although, I have a little issue because I'm using a "azerty" keyboard where the "z" key is not aligned with "x" and "c". (Has "w" instead)

    I added these lines to mupen64plus.cfg:
    [Input-SDL-Control1]
    plugged = True
    Z Trig = "key(119)"

    and still, it doesn't work.
    Any ideas?

    edit: pastebin.com/j2W7ysmH
    Last edited by bel3atar; March 9th, 2012 at 23:10.

  2. #2
    Moderator
    Join Date
    Oct 2007
    Posts
    494
    Hello,

    The input plugin won't use the configuration in the file unless it is complete and valid, so you can't just add a few lines. You should be able to run a rom with "--saveoptions" to make it write out the full config file, then edit the Z Trig line in the Input-SDL-Control1 section to include the "key(119)" text.

    Alternatively, you could also edit the keyboard section in the InputAutoConfig.ini to change the default auto-configured key.

  3. #3
    EmuTalk Member
    Join Date
    Mar 2012
    Posts
    3
    Quote Originally Posted by Richard42 View Post
    Hello,

    The input plugin won't use the configuration in the file unless it is complete and valid, so you can't just add a few lines. You should be able to run a rom with "--saveoptions" to make it write out the full config file, then edit the Z Trig line in the Input-SDL-Control1 section to include the "key(119)" text.

    Alternatively, you could also edit the keyboard section in the InputAutoConfig.ini to change the default auto-configured key.
    The --saveoptions flag doesn't write the Input-SDL-Control1 section in the file for me.
    Plus, I can not locate the InputAutoConfig.ini file.

    One more thing, you say here code.google.com/p/mupen64plus/wiki/GameCompatibility that Mario 64 works fine, but in my laptop the graphics are slow. And it is the case for almost all 3D games.

    I have an ATi HD5470, and I'm using the proprietary driver for it.
    Last edited by bel3atar; March 11th, 2012 at 13:30.

  4. #4
    EmuTalk Member
    Join Date
    Jul 2007
    Posts
    145
    Try actually launching a game when using the "--saveoptions" flag.

  5. #5
    EmuTalk Member
    Join Date
    Mar 2012
    Posts
    3
    Remapping successful! Thank you guys.

    Now does the problem with 3D games exist for everyone or is it just me?

  6. #6
    I Am The Stig Martin's Avatar
    Join Date
    Nov 2001
    Location
    Malmö
    Posts
    3,830
    Quote Originally Posted by bel3atar View Post
    Remapping successful! Thank you guys.



    Now does the problem with 3D games exist for everyone or is it just me?
    Nice one, well done


    The Emulation64 Network offers you free hosting!
    Click here for requirements and contact info.


    • Advertising

      advertising
      EmuTalk.net
      has no influence
      on the ads that
      are displayed
        
       

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •