Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Use WiiMote as Bluetooth Gamepad or Remote Control (Working with Dr.NokSnes!)

    Reply
    Page 4 of 11 | Prev |   2     3   4   5     6   | Next | Last
    boudjere | # 31 | 2010-02-12, 08:16 | Report

    Hello,

    ...and thank you all for this next wow moment in my life with the N900! Tried Wiicontrol yesterday together with DrNokSNES and it works like a charm..

    My only problem is: I keep hitting the B button together with the dpad while playing Mario Kart, which kicks me out of the game and sends me back to the main screen of DrNokSNES. Is there a way to prevent it from using mapping_b together with mapping_snes and/or mapping_l etc.? Or do I have to set mapping_b to screen taps or similar ?

    boudjere

    Edit | Forward | Quote | Quick Reply | Thanks

     
    F2thaK | # 32 | 2010-02-12, 08:32 | Report

    I originally thought the B button didnt work but it seems to be a shift like button. B + Left is exit and B + Down is fullscreen I think... Havent tried disabling this but the setting is in the wiicontrol file, have a look.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    boudjere | # 33 | 2010-02-12, 10:27 | Report

    I tried a few things, including commenting out

    Code:
    pressed[bb]=True
    in

    Code:
                for bb in buttons:
                  if (Wii.buttonmask & buttonmap[bb]):          
                      if (Wii.buttonmask & buttonmap["B"]):
                          ExecuteScript(mapping_b[bb])
                          pressed[bb]=True                      
                      else:
                          ExecuteScript(mapping[bb])
                          pressed[bb]=True
                      
                  elif (not (Wii.buttonmask & buttonmap[bb])):
                          if pressed[bb]==True:
                              pressed[bb]=False                          
                              ExecuteReleasedScript(mapping[bb])
                              device.display_state_on()
    and sending all mapping_b to a single (unused) key. But all of these efforts did not change anything.

    Any more ideas?

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by boudjere; 2010-02-12 at 10:29. Reason: Formatting

     
    F2thaK | # 34 | 2010-02-12, 11:14 | Report

    did you try changing any of the expressions from true > false - or false > true?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    cleareyes | # 35 | 2010-02-13, 13:56 | Report

    f2thak,

    I have a different keyboard layout which requires me to use key-combos in order to input the up and down arrow.

    As I mentioned in my post:

    http://talk.maemo.org/showpost.php?p...3&postcount=27

    I have different symbols where you have the up and down arrow, namely a scandinavian letter "ae" and puntuation mark.

    Due to this problem I'm only able to input down and right with the wiimote.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    F2thaK | # 36 | 2010-02-14, 02:07 | Report

    i think you need to set your keyboard layout to US...

    Edit | Forward | Quote | Quick Reply | Thanks

     
    KNEjk | # 37 | 2010-03-07, 18:57 | Report

    apt-get install wiicontrol

    E: Couldn't find package wiicontrol

    Edit | Forward | Quote | Quick Reply | Thanks

     
    bazz | # 38 | 2010-03-09, 01:47 | Report

    I'm trying to map a key for mario to jump, but not having any luck. There are to keys actually... On the keyboard it x, and d, but I cant figure out how to map them in the config. Can someone help me out?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    F2thaK | # 39 | 2010-03-09, 02:15 | Report

    bazz



    --------------------------------------------------------------------------------------
    How To Configure Controls
    --------------------------------------------------------------------------------------

    you need to edit "/usr/bin/wiicontrol" file.

    scroll to section shown below. (In _CODE-CODE_ section)

    "mapping" section is for gamepad only mode
    "mapping_l" section is for gamepad + gyro mode (accelerometers)

    to change a specific button, (e.g. gamepad mode "A" button) you need to change only the key name within the ["a ???"] section, ??? being the key name. (e.g. 'A': ["a Q"] would set button A to the Q key.)

    then in your games/apps just set the keys to whichever you set.

    this should work!


    _________CODE__________
    ........................
    mapping={
    'U': ["a Left"], # dpad left
    'D': ["a Right"], # dpad right
    'L': ["a Down"], # dpad down
    'R': ["a Up"], # dpad up
    'A': ["a e"], # A
    '+': ["a q"], # +
    '-': ["a Escape"], # -
    '1': ["a a"], # 1
    '2': ["a w"], # 2
    'H': ["a KP_Enter"], # home
    'GU': ["a Up"], # gyro up
    'GD': ["a Down"], # gyro down
    'GL': ["a Left"], # gyro left
    'GR': ["a Right"], # gyro right
    'Z': ["a z"], # unknown
    'C': ["a x"] # unknown
    }

    mapping_l={
    'U': ["a s"], # dpad left
    'D': ["a d"], # dpad right
    'L': ["a Down"], # dpad down
    'R': ["a Up"], # dpad up
    'A': ["a e"], # A
    '+': ["a q"], # +
    '-': ["a Escape"], # -
    '1': ["a a"], # 1
    '2': ["a w"], # 2
    'H': ["a KP_Enter"], # home
    'GU': [""], # gyro up
    'GD': [""], # gyro down
    'GL': ["a Left"], # gyro left
    'GR': ["a Right"], # gyro right
    'Z': ["a z"], # unknown
    'C': ["a x"] # unknown
    ........................
    __________CODE__________

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by F2thaK; 2010-03-09 at 02:23.

     
    F2thaK | # 40 | 2010-03-09, 02:17 | Report

    Originally Posted by KNEjk View Post
    apt-get install wiicontrol

    E: Couldn't find package wiicontrol
    install thru app manager mate

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 4 of 11 | Prev |   2     3   4   5     6   | Next | Last
vBulletin® Version 3.8.8
Normal Logout