WiiButton Press?

Official forum for open source FreePIE discussion and development.
Post Reply
bloxaremany
One Eyed Hopeful
Posts: 2
Joined: Thu Aug 30, 2018 4:55 pm

WiiButton Press?

Post by bloxaremany »

Hello,

I am using the Wii + Keymap script from here:
https://github.com/AndersMalmgren/FreeP ... ng-Started

It works fine except that when I press and hold the WiiMote button, it only sends one input. Like I'll hold down the Two button as much as possible, and it only sends one X. I would expect it to keep sending X until I let go. I tried changing from setKeyDown to setKeyPressed, but that just sends way too many inputs for one tap...

Any clue how to get the desired function?
Jabberwock
Cross Eyed!
Posts: 197
Joined: Mon Mar 02, 2015 3:58 pm

Re: WiiButton Press?

Post by Jabberwock »

That might depend on the software you are sending the inputs to. The question is: does the script behave differently than a regular keyboard does? I am not sure whether setKeyDown triggers Windows keyboard autorepeat (I think it does), but if you need something more sophisticated, you need to program the presses yourself.

If you describe what software you are working with and what you want to accomplish, I might be able to provide more information.
bloxaremany
One Eyed Hopeful
Posts: 2
Joined: Thu Aug 30, 2018 4:55 pm

Re: WiiButton Press?

Post by bloxaremany »

Ok, I didn't know it depended on the software lol. It actually works, I was just testing it out by typing characters. I just used it with a game today and everything is as expected!

You can close/lock this now
Post Reply

Return to “FreePIE”