Re: [Ilugc] python doubt

2009-01-19 Thread swamynathan
> > > Hi, > > Which toolkit are you using from python? Your answer will really > depend on that. Python itself doesn't go too far in this kind of > functionality. > > Regards, > Shash > > i tried a very basic one in python it self but will be using pymedia http://pymedia.org/ -- your caring/lov

Re: [Ilugc] python doubt

2009-01-19 Thread Shashwath T.R.
On Mon, Jan 12, 2009 at 9:15 PM, swamynathan wrote: > hello, > i am doing a small virtual piano program in python.. > i have a situation where i need to get multiple keystrokes from key board > and send it to a function > the function accepts only char.. > > eg if i press 'a' , 'a' is passed to

Re: [Ilugc] python doubt

2009-01-13 Thread kish
Maybe this will help http://zynaddsubfx.sourceforge.net/ --kish --- Esse Quam Videri krisk.wordpress.com ___ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with "unsubscribe " in the subject or body of the message. http://www.ae.iitm.

Re: [Ilugc] python doubt

2009-01-13 Thread Venkatraman S
On Wed, Jan 14, 2009 at 1:32 AM, Vaidhyanathan Mayilrangam Gopalan < vai...@gmail.com> wrote: > > A TSR on a multi-threaded OS ??? What happens when there are multiple > programs that require keyboard input? There is a reason TSRs went the way of > dodo with DOS and single active process. > > True

Re: [Ilugc] python doubt

2009-01-13 Thread Vaidhyanathan Mayilrangam Gopalan
Think TSR approach should work for you, but you need to disable your AV for that, IMHO. A TSR on a multi-threaded OS ??? What happens when there are multiple programs that require keyboard input? There is a reason TSRs went the way of dodo with DOS and single active process. begin:vcard

Re: [Ilugc] python doubt

2009-01-13 Thread Venkatraman S
On Tue, Jan 13, 2009 at 11:12 PM, swamynathan wrote: > can other keys be made to work like an alt or shift key > Scan codes are different for each key > > > cant use dbus im doing in windows for now > Think TSR approach should work for you, but you need to disable your AV for that, IMHO. > > i

Re: [Ilugc] python doubt

2009-01-13 Thread swamynathan
On Tue, Jan 13, 2009 at 10:31 AM, Arun Venkataswamy wrote: > On Mon, Jan 12, 2009 at 9:15 PM, swamynathan wrote: > > > > > eg if i press 'a' , 'a' is passed to the function > > if i press 'a','d' then the function should be called simultaneously > > > > > The standard keyboard controller (the ch

Re: [Ilugc] python doubt

2009-01-12 Thread Arun Venkataswamy
On Mon, Jan 12, 2009 at 9:15 PM, swamynathan wrote: > > eg if i press 'a' , 'a' is passed to the function > if i press 'a','d' then the function should be called simultaneously > > The standard keyboard controller (the chip inside the keyboard) does not work like a piano keyboard. When the user

Re: [Ilugc] python doubt

2009-01-12 Thread Venkatraman S
On Mon, Jan 12, 2009 at 9:15 PM, swamynathan wrote: > i have a situation where i need to get multiple keystrokes from key board > The keyboard generates interrupts which you can handle : this would be very much similar to the way one writes TSRs. IMHO, writing 'your-own' threads for this would b

Re: [Ilugc] python doubt

2009-01-12 Thread Vaidhyanathan Mayilrangam Gopalan
swamynathan wrote: hello, i am doing a small virtual piano program in python.. i have a situation where i need to get multiple keystrokes from key board and send it to a function the function accepts only char.. eg if i press 'a' , 'a' is passed to the function if i press 'a','d' then the func

Re: [Ilugc] python doubt

2009-01-12 Thread Kapil Hari Paranjape
Hello, On Mon, 12 Jan 2009, swamynathan wrote: > eg if i press 'a' , 'a' is passed to the function > if i press 'a','d' then the function should be called simultaneously ^^^ What does this mean? > i tried using threads it di

[Ilugc] python doubt

2009-01-12 Thread swamynathan
hello, i am doing a small virtual piano program in python.. i have a situation where i need to get multiple keystrokes from key board and send it to a function the function accepts only char.. eg if i press 'a' , 'a' is passed to the function if i press 'a','d' then the function should be called