|
From: Ethan A M. <sf...@us...> - 2014-06-23 19:56:25
|
On Tuesday, 24 June, 2014 04:49:36 Tatsuro MATSUOKA wrote: > > ----- Original Message ----- > > From: sfeam > > To: gnuplot-beta > > Cc: Petr Mikulik > > Date: 2014/6/23, Mon 14:52 > > Subject: Re: How to get key information from qt terminal to gnuplot > > > Although Ethan's idea is attractive, I will try console raise feature for qt terminal by Petr's way at this moment. > To implement Ethan's idea, we have to have wrapper function to get keycode. > This is because each terminal implements the way to get keycode diffident way and keycode map for each the terminal is different (especially of windows). > > I will wait that someone who has good knowledge inter platform try to implement. Isn't it true that all terminals already do the necessary key-code processing so that they can send key events to the core code in mouse.c? For example, does "mouselabels.dem" work on MSWin? That demo reads keystrokes in the plot window, turns them into labels in the core code, and then replots with the new label. If the demo works, it shows that keycodes including the space-key are correctly transmitted to the core code. Ethan |