Suggestions (#3) - Change config without reconnect (#60) - Message List

Change config without reconnect
 unsolved

Is it possible to put an alternative switch that makes you change your config file (remap buttons, etc) without the need to put the wii remote in discovery mode??

  • Message #24289

    I've been thinking about this for a while. The problem is, you have to "sacrifice" a wiimote button for it. It is doable, and shouldn't be too hard to implement. When I have some time from school I can get something working.

    • Message #24290

      Maybe This could be implemented as a command line switch, something like

      wminput -rc config.file (-rc as reconfig)

      this way you don't need to use a wiimote button, maybe we can make a script to load certain config before some program loads...

      • Message #24292

        Something like that would take me a little longer to get working properly. I think it would be cool to have something like dbus support. Then other programs/scripts can interact with wminput. This would make issues like this trivial, but I have no freaken' clue on how to do this. I've been looking for some decent tutorials but haven't found much.

        Here is my use case: If I'm watching a movie and using the wiimote as a remote control and receive an e-mail, I want to switch configurations so I can switch to another virtual desktop, and switch configurations again to the one for my e-mail client, all without touching my keyboard.

        To me, that would be ideal. I would be interested in hearing other use cases/ways of switching configurations that other people would like - i.e. using a script a keyboard shortcut.

        Something I've thought about is using a wiimote button combination, such as B+UP or B+DOWN to cycle through a pre-defined list of plugins. When you would issue something like

        wminput --config-list config_files_to_use.list

        where config_files_to_use.list is a text file containing a list of configurations you want to cycle through. Pressing B+UP or B+DOWN would cycle through the list.

        This brings up something that I've done in my (unreleased) led plugin. How should pressing two buttons at once be handled? I think it would work well if they were used for wminput events, such as initiating an LED action, toggling rumble, or changing config files on the fly.

        What does everyone else think of this from a usability standpoint?

        Sorry for the long post.

    • Message #24291

      Double post - sorry

  • Message #24394

    has anyone the skills to implement this? It would be really helpfull, so that one can use the wiimote for different games without killing wminput and then starting it again.

    Sadly I lack the skills to do such a change, but I would be glad if someone did.

    • Message #24395

      Got the skills, just not the time.

      • Message #24397

        I everyone, i have used the parts of wminput to make a gwminput(gtk interface).

        with this you can load a new config without to put the wii remote in discovery mode.

        I try to put the code on the web on the next days, than i'll gib the link to download it.

        ps: i apologize for my english.

Attachments

No attachments created.