Is it possable to set the keyboard keys up so they trigger specific bangs. ie When I press "H" it triggers a piece of video.. Thanks Peter
Peter Forde wrote:
Is it possable to set the keyboard keys up so they trigger specific bangs. ie When I press "H" it triggers a piece of video..
yes it's possible.
but how? hmm, let's think: which object could do that? grabbing the keyboard...[keyboard]? argh, couldn't create; what now? actually i don't want the entire "keyboard" but just "keys", lets try [keys] - argh, couldn't create either; try [key]..couldn't..no wait this does something, let's have a look at the help.
alternative: hmm, let's think: which object could do that? grabbing the keyboard...[keyboard]? argh, couldn't create; what now? it really *should* be called keyboard, let's have a look at the list of objects (right-click on canvas, select "help"); it might be in here, but i cannot search this text-file, so forget it (ok, i could copy'n'paste the entire file into a text-editor and use the search in there, but who cares); what now? hmm, most objects have a help patch, so go to doc/5.reference/; whoa! there's a LOT of objects; keyboard,keyboard..let's have a look at "k", hmm: "key-help.pd" what's that, never heard of it, probably something useless; anyhow, i'll have a look at it, maybe it can serve me another time...
mfg.as.dr. IOhannes
Thanks Peter
Hi IOhannes
I think it would have been enough to say that the "key" object does what Peter wants to do. Maybe your try and error way of finding the appropriate object works for you, but others prefer to ask a perfectly normal question (and expect to get a perfectly normal answer).
Günter
On Wed, 3 May 2006, IOhannes m zmoelnig wrote:
Peter Forde wrote:
Is it possable to set the keyboard keys up so they trigger specific bangs. ie When I press "H" it triggers a piece of video..
yes it's possible.
but how? hmm, let's think: which object could do that? grabbing the keyboard...[keyboard]? argh, couldn't create; what now? actually i don't want the entire "keyboard" but just "keys", lets try [keys] - argh, couldn't create either; try [key]..couldn't..no wait this does something, let's have a look at the help.
alternative: hmm, let's think: which object could do that? grabbing the keyboard...[keyboard]? argh, couldn't create; what now? it really *should* be called keyboard, let's have a look at the list of objects (right-click on canvas, select "help"); it might be in here, but i cannot search this text-file, so forget it (ok, i could copy'n'paste the entire file into a text-editor and use the search in there, but who cares); what now? hmm, most objects have a help patch, so go to doc/5.reference/; whoa! there's a LOT of objects; keyboard,keyboard..let's have a look at "k", hmm: "key-help.pd" what's that, never heard of it, probably something useless; anyhow, i'll have a look at it, maybe it can serve me another time...
mfg.as.dr. IOhannes
Thanks Peter
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
What a great piece of comedy on this dreary rainy Kansas day!
~Kyle
On 5/3/06, IOhannes m zmoelnig zmoelnig@iem.at wrote:
hmm, let's think: which object could do that? grabbing the keyboard...[keyboard]? argh, couldn't create; what now? actually i don't want the entire "keyboard" but just "keys", lets try [keys] - argh, couldn't create either; try [key]..couldn't..no wait this does something, let's have a look at the help.
alternative: hmm, let's think: which object could do that? grabbing the keyboard...[keyboard]? argh, couldn't create; what now? it really *should* be called keyboard, let's have a look at the list of objects (right-click on canvas, select "help"); it might be in here, but i cannot search this text-file, so forget it (ok, i could copy'n'paste the entire file into a text-editor and use the search in there, but who cares); what now? hmm, most objects have a help patch, so go to doc/5.reference/; whoa! there's a LOT of objects; keyboard,keyboard..let's have a look at "k", hmm: "key-help.pd" what's that, never heard of it, probably something useless; anyhow, i'll have a look at it, maybe it can serve me another time...
mfg.as.dr. IOhannes
Thanks Peter
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
--
http://theradioproject.com http://perhapsidid.blogspot.com
(((())))(()()((((((((()())))()(((((((())()()())()))) (())))))(()))))))))))))(((((((((((()()))))))))((()))) ))(((((((((((())))())))))))))))))))__________ _____())))))(((((((((((((()))))))))))_______ ((((((())))))))))))((((((((000)))oOOOOOO
Peter Forde wrote:
Is it possable to set the keyboard keys up so they trigger specific bangs. ie When I press "H" it triggers a piece of video..
yes, this is possible. have a look at the [key], [keyup] and [keyname] object. use [select] or [route] to trigger events based on which key was pressed (or released).
mfg.asd.r IOhannes