Yes, New in 5.06. 2008/1/18, Lou Cohen : > FLkeyIn doesn't appear in my copy of the csound ref. manual. There is an > opcode called FLkeyb, described as experimental, with no information > regarding its parameters. > > I'm using 5.04. Perhaps FLkeyIn was implemented in a later version of > csound? > > -Lou > > > > On 1/17/08 20:39, "Oeyvind Brandtsegg " wrote: > > > Maybe you can use FLkeyIn instead of sensekey ? > Never tried it myself, but it seems it should work. > Oeyvind > > 2008/1/18, Lou Cohen : > > Hi, everyone, > > > > In the enclosed csd file, I have used fltk builtin to csound to set up a > > panel. I want to capture keystrokes using sensekey. > > > > With the enclosed file, you will see that instrument 1, which is > attempting > > to capture keystrokes, sees none of them. > > > > If I comment out the FLtabs statement (and the matching FLtabsEnd > > statement), instrument 1 sees all keystrokes. > > > > Does this mean that sensekey and FLtabs are incompatible? or is there a > way > > I can use both? > > > > all the best, > > Lou Cohen > > > > > > > > > > > > ;***************************************************/ > > islidercolumn init 5 ;x-coord of left edge of column > of > > knobs, etc. > > itabverticaloffset init 20 ;space required at top of > panel > > for tabs to be visible > > > > imycinemadisplaywidth init 1680 > > imycinemadisplayheight init 1050 > > ipanelwidth init 1000 ;default width of improvisor > > panel > > ipanelheight init 700 ;default height of improvisor > > panel > > ipanelx init imycinemadisplaywidth - ipanelwidth ;default x > > position of left edge of panel > > ipanely init 20 ;default y position of top of > panel > > ipanelright init ipanelwidth > > ipanelbottom init ipanelheight > > igrpimprwidth init ipanelwidth > > igrpimprheight init ipanelheight > > igrpimpx init 0 > > igrpimpy init itabverticaloffset > > > > FLpanel "Improviser", ipanelwidth, ipanelheight, ipanelx, ipanely, > 0 > > ,1 ;***** start of container > > FLscroll ipanelwidth, ipanelheight, 0,0 > > FLtabs ipanelwidth-50, ipanelheight, 5, 5 > > FLgroup "improviser", igrpimprwidth, igrpimprheight, igrpimpx, > > igrpimpy, 1 > > FLgroupEnd > > FLtabsEnd > > FLscrollEnd > > FLpanelEnd ;***** end of container > > FLrun ;***** runs the widget thread, it is always required! > > > > instr 1 > > kres, kkeydown sensekey > > > > printk2 kres > > printk2 kkeydown,5 > > endin > > > > > > f1 0 512 10 1 > > > > i1 0 8888 10000 100 > > > > > > > > > > > > --------------------------- > > Permanent email: loucohen@jolc.net > > Music and video: > > http://ruccas.org/wiki.pl/Lou_Cohen > > More music and video: http://www.youtube.com/loucohen > > Astronomy: http://www.jolc.net > > ---------------------------- > > > > > > > Send bugs reports to this list. > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe > csound" > > > --------------------------- > Permanent email: loucohen@jolc.net > Music and video: > http://ruccas.org/wiki.pl/Lou_Cohen > More music and video: http://www.youtube.com/loucohen > Astronomy: http://www.jolc.net > ---------------------------- > >