Sorry, yes, you need to use [keyname]. [key] and [keyup] only output ASCII numbers, so things like arrow keys don't show up. You can see what comes out of [key] and [keyup] here:
http://www.asciitable.com/ .hc On 10/21/2012 01:54 PM, Rick T wrote: > Since [key] doesn't show numbers for Up Left Right and Down arrow > keys. I found > a PD patch that will work, here's the link > http://puredata.hurleur.com/sujet-974-keypress-issue > > Thanks > > On Sat, Oct 20, 2012 at 12:57 PM, Hans-Christoph Steiner <h...@at.or.at>wrote: > >> >> Just type the key you want, and see the number come out of [key]. The >> [key] >> help patch will show you, or just add a number box. >> >> .h >> >> >> On 10/20/2012 06:29 PM, Rick T wrote: >>> Greetings All >>> >>> I can toggle using the space bar key to toggle but how do I assign the >>> Right, Left, Down and Up arrow keys? >>> Is there a PD chart with their numbers? >>> >>> [key] >>> | >>> [sel 32] >>> | >>> [tgl] >>> >>> Thanks >>> >>> >>> >>> _______________________________________________ >>> Pd-list@iem.at mailing list >>> UNSUBSCRIBE and account-management -> >> http://lists.puredata.info/listinfo/pd-list >>> >> >> _______________________________________________ >> Pd-list@iem.at mailing list >> UNSUBSCRIBE and account-management -> >> http://lists.puredata.info/listinfo/pd-list >> > > > > _______________________________________________ > Pd-list@iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list