Is Key Pressed 2.0.5

If you require help or assistance with anything then please post here

Moderators: electrogear, exonerate

Is Key Pressed 2.0.5

Postby infuzion on Wed Jun 15, 2011 8:06 am

So, does that mean if a Tick25 is not attached, you can not tell if the key has been pressed now in SM2.0.5?
Need help? First search the forum & WiKi, then post in the help forum with a clear topic, request, & OSM. Then please WiKi the correct solution. If you want my personal assistance, I charge by the hour or for an exchange of services.
infuzion
smstar
smstar
 
Posts: 6163
Joined: Wed May 04, 2005 8:02 pm
Location: Earth, USA, CO, Denver

Re: Is Key Pressed 2.0.5

Postby Tzarls on Wed Jun 15, 2011 12:43 pm

As far as I remember, that´s the way it has always been. The only difference is that now you have a separate input for the trigger, while before the update, you had to connect the trigger to the "s" input.
Tzarls
smanatic
 
Posts: 770
Joined: Tue Nov 11, 2008 5:43 am
Location: Peru

Re: Is Key Pressed 2.0.5

Postby infuzion on Wed Jun 15, 2011 3:49 pm

Tzarls wrote:As far as I remember, that´s the way it has always been. The only difference is that now you have a separate input for the trigger, while before the update, you had to connect the trigger to the "s" input.
IIRC it was passive, & didn't need the trigger?
Need help? First search the forum & WiKi, then post in the help forum with a clear topic, request, & OSM. Then please WiKi the correct solution. If you want my personal assistance, I charge by the hour or for an exchange of services.
infuzion
smstar
smstar
 
Posts: 6163
Joined: Wed May 04, 2005 8:02 pm
Location: Earth, USA, CO, Denver

Re: Is Key Pressed 2.0.5

Postby trogluddite on Wed Jun 15, 2011 3:53 pm

AFAIK, there's no change at all in its behaviour.. A trigger has always been required (possibly from the string changing) for a reliable poll of the keyboard - though maybe 'reverse' triggers from downstream components also used to work, can't quite remember.

Even the triggers at the string input are still passed through. That seems weird - now that there's a separate trigger input, it seems more sensible to me to not pass the string input triggers - would save having to remember to use a trigger blocker if you don't want a change of string to also poll the keyboard, and make the function of the primitive even more explicit.
Feel free to use any schematics and algorithms I post on the forum in your own designs - a credit is appreciated (but not a requirement).
Don't stagnate, mutate to create. Without randomness and serendipity the earth would be just another barren rock.
User avatar
trogluddite
smychopath
 
Posts: 3024
Joined: Mon Oct 20, 2008 3:52 pm
Location: Yorkshire, UK

Re: Is Key Pressed 2.0.5

Postby tester on Tue May 01, 2012 10:18 pm

How to make this thing "is key pressed" to send only 1 trigger (not boolean value), and only when correct/defined key is pressed? It sends triggers in irrational way or I don't understand it?
Need to take a break? Looking for relaxing sounds? I have something right for you.
(by purchasing, you are also supporting further development of related projects).
Thank you for your contribution.
tester
smanatic
 
Posts: 689
Joined: Wed Jan 18, 2012 9:52 pm
Location: Poland, internet

Re: Is Key Pressed 2.0.5

Postby stw on Wed May 02, 2012 4:22 am

tester wrote:How to make this thing "is key pressed" to send only 1 trigger (not boolean value), and only when correct/defined key is pressed? It sends triggers in irrational way or I don't understand it?


Triggers should go out as they go in. You can use the "int changed" module to pass triggers only when the state changes.
stw
smanatic
 
Posts: 639
Joined: Mon Jun 30, 2008 2:55 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 1 guest