If you have a problem or need to report a bug please email : support@dsprobotics.com
There are 3 sections to this support area:
DOWNLOADS: access to product manuals, support files and drivers
HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects
USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here
NEW REGISTRATIONS - please contact us if you wish to register on the forum
Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright
small useful gadgets
8 posts
• Page 1 of 1
small useful gadgets
There was a "tradition" on SM forum, to share gadgets, so here it is. Small - but useful tools.
- circular counter: useful for making multi-mode buttons, switched back and forth with right/left mouse click
- time limiter: useful for making time limited demo apps (it uses it's own counter, not windows time signature)
- multi-function button: left/right click, left/right click-and-hold - useful for multi-mode switches and reseters
More to come. Maybe.
- circular counter: useful for making multi-mode buttons, switched back and forth with right/left mouse click
- time limiter: useful for making time limited demo apps (it uses it's own counter, not windows time signature)
- multi-function button: left/right click, left/right click-and-hold - useful for multi-mode switches and reseters
More to come. Maybe.
- Attachments
-
- tester's tools - small useful gadgets v001.fsm
- (2.61 KiB) Downloaded 941 times
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
Feel free to donate. Thank you for your contribution.
- tester
- Posts: 1786
- Joined: Wed Jan 18, 2012 10:52 pm
- Location: Poland, internet
Re: small useful gadgets
Thanks man!
Just a question, when you hold-click, is it supposed to increase the count for both (short-click & long-click)?
It does on my machine & thought it strange ( unless u want it that way )
Just a question, when you hold-click, is it supposed to increase the count for both (short-click & long-click)?
It does on my machine & thought it strange ( unless u want it that way )
- Drnkhobo
- Posts: 312
- Joined: Sun Aug 19, 2012 7:13 pm
- Location: ZA
Re: small useful gadgets
Generally this one is raw one (not updated yet).
Single "just click" can be combined with standard on/off routne (or multiple values via circular counter), and left/right mouse actions can be combined with each other to produce some quick resets or blocking options. When you hold click (left or right) - it sends second delayed separate trigger, that can be used for some cross-resetting/activating of multiple switches. Also - you can change the Ldo/Rdo into Lup/Rup (thus - trigger would be sent after mouse release instead of click). All click types are separate from each other in terms of sending triggers, that why you have 4 outs.
Ah, I see what you mean. Yeah, that's very simple 4-way clicker. This could be modified by using Lup/Rup and some time based blockers. Generally I did not extended it that way, because I use hold-clicks in situation, when right click always acts as reset anyway, so no big deal there, 1 trigger more or less.
Single "just click" can be combined with standard on/off routne (or multiple values via circular counter), and left/right mouse actions can be combined with each other to produce some quick resets or blocking options. When you hold click (left or right) - it sends second delayed separate trigger, that can be used for some cross-resetting/activating of multiple switches. Also - you can change the Ldo/Rdo into Lup/Rup (thus - trigger would be sent after mouse release instead of click). All click types are separate from each other in terms of sending triggers, that why you have 4 outs.
Ah, I see what you mean. Yeah, that's very simple 4-way clicker. This could be modified by using Lup/Rup and some time based blockers. Generally I did not extended it that way, because I use hold-clicks in situation, when right click always acts as reset anyway, so no big deal there, 1 trigger more or less.
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
Feel free to donate. Thank you for your contribution.
- tester
- Posts: 1786
- Joined: Wed Jan 18, 2012 10:52 pm
- Location: Poland, internet
Re: small useful gadgets
I just realized that I use circular counters (multi-option buttons) with no preset, so here is an example on how to connect the preset in order to store the values of your choice.
Notice, that this button is not bi-directional; but what is important, is that little feedback module, that receives info from preset, and sets then the counter to correct initial state. If you decide to play with it - remember that a lot inside depends on correct connection order.
Amount of triggers sent from output you can limit with "changed" prim.
Notice, that this button is not bi-directional; but what is important, is that little feedback module, that receives info from preset, and sets then the counter to correct initial state. If you decide to play with it - remember that a lot inside depends on correct connection order.
Amount of triggers sent from output you can limit with "changed" prim.
- Attachments
-
- circ.fsm
- (7.77 KiB) Downloaded 904 times
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
Feel free to donate. Thank you for your contribution.
- tester
- Posts: 1786
- Joined: Wed Jan 18, 2012 10:52 pm
- Location: Poland, internet
Re: small useful gadgets
...and simple stream based pan (input in 0-1 range) for good night.
For green version - just exchange prims into green ones.
For green version - just exchange prims into green ones.
- Attachments
-
- stream-pan.fsm
- (1.49 KiB) Downloaded 891 times
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
Feel free to donate. Thank you for your contribution.
- tester
- Posts: 1786
- Joined: Wed Jan 18, 2012 10:52 pm
- Location: Poland, internet
Re: small useful gadgets
As requested - multifunctional button with L/RDo and L/RUp combined with mouse hold. First version sends trigger on click, second version - on release. Long click (mouse hold) sends trigger through secondary outputs. One minor change from previous version - only one timer is used for both clicks. I guess this limits a little bit fast random clicking - or not.
p.s.: it's possible to include a bunch of gestures too, like click'n'moveup, clic'n'moveleft (range, speed) and so on, so one button can have very many functions. I'm not sure about using dbclick (not tested), probably this will depend on trigger order (to block regular clicks). How many functions are you able to implement (keeping the button simple)?
p.s.: it's possible to include a bunch of gestures too, like click'n'moveup, clic'n'moveleft (range, speed) and so on, so one button can have very many functions. I'm not sure about using dbclick (not tested), probably this will depend on trigger order (to block regular clicks). How many functions are you able to implement (keeping the button simple)?
- Attachments
-
- multibutton-v2.fsm
- (2.34 KiB) Downloaded 907 times
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
Feel free to donate. Thank you for your contribution.
- tester
- Posts: 1786
- Joined: Wed Jan 18, 2012 10:52 pm
- Location: Poland, internet
Re: small useful gadgets
Depending on what you do, some operations in your app may require additional confirmation, to avoid accidental clicking, that results in long loads, loosing data, and... sometimes crashing. This one just re-sends trigger if you click "yes".
- Attachments
-
- warning.fsm
- (1.07 KiB) Downloaded 918 times
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
Feel free to donate. Thank you for your contribution.
- tester
- Posts: 1786
- Joined: Wed Jan 18, 2012 10:52 pm
- Location: Poland, internet
8 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 86 guests