Re: [osg-users] keyboard events not processed after osgviewer lose focus and get it back

2015-04-05 Thread Robert Osfield
Hi Nick, This behaviour is probably down to the window manager requiring a click to focus by default. I don't recall a setting off the top of my head for controlling this. Robert. On 5 April 2015 at 04:18, Trajce Nikolov NICK trajce.nikolov.n...@gmail.com wrote: Hi Community, In my

[osg-users] keyboard events not processed after osgviewer lose focus and get it back

2015-04-04 Thread Trajce Nikolov NICK
Hi Community, In my cross-platform app I have processing of keybard input - simple terminal for writing commands in real-time. This is same on Windows and Linux (haven't tested it yet on Mac), but on Windows for example, you do Alt-TAB to get some other window and get it back again, the keyboard

[osg-users] Keyboard Events

2010-01-09 Thread George Forest
Hi, I am executing a frame loop such as while (!viewer.done()) { //get pressed key viewer.frame(); } Within this code I want to get pressed arrow keys but I could not find any comprehensible example or source. Thank you! Cheers, George -- Read this topic online here:

Re: [osg-users] Keyboard Events

2010-01-09 Thread Trajce Nikolov
Hi George, this is handled by EventHandlers. There are plenty of them for different purposes. Have a look at osgViewer/ViewerEventHandlers Nick http://www.linkedin.com/in/tnick Sent from Izmit, 41, Turkey On Sat, Jan 9, 2010 at 7:53 PM, George Forest gfc...@hotmail.com wrote: Hi, I am