It is currently Sun Nov 18, 2018 4:39 am



Reply to topic  [ 3 posts ] 
 WiiButton Press? 
Author Message
One Eyed Hopeful

Joined: Thu Aug 30, 2018 4:55 pm
Posts: 2
Reply with quote
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?


Thu Aug 30, 2018 5:01 pm
Profile
Cross Eyed!

Joined: Mon Mar 02, 2015 3:58 pm
Posts: 119
Reply with quote
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.


Fri Aug 31, 2018 8:27 am
Profile
One Eyed Hopeful

Joined: Thu Aug 30, 2018 4:55 pm
Posts: 2
Reply with quote
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


Mon Sep 10, 2018 12:13 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by STSoftware.