Page 1 of 1

WiiButton Press?

Posted: Thu Aug 30, 2018 5:01 pm
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?

Re: WiiButton Press?

Posted: Fri Aug 31, 2018 8:27 am
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.

Re: WiiButton Press?

Posted: Mon Sep 10, 2018 12:13 pm
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