OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

Integrating joystick in a application with osgGraphicsWindowQt


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General
View previous topic :: View next topic  
Author Message
argesino (Francesco Argese)
User


Joined: 24 Feb 2009
Posts: 20

PostPosted: Thu Jun 08, 2017 9:00 am    Post subject:
Integrating joystick in a application with osgGraphicsWindowQt
Reply with quote

I'm trying to integrate the example osgdirectinput example to handle
the joystick events in an application written using osg and Qt and
having osgGraphicsWindowQt.

When I try to retrieve GraphicsWindowWin32 I ob through the following
code I obtain NULL.

osgViewer::GraphicsWindowWin32* windowWin32 =
dynamic_cast<osgViewer::GraphicsWindowWin32*>(
_camera->getGraphicsContext() );

Can you suggest me the best practices to integrate joystick in an
application of usch type? Do examples exist related to this scenario?

The version of OSG I'm using is 3.0.1 while the Qt version is 4.7.3.

Francesco


------------------
Post generated by Mail2Forum

_________________
Francesco Argese
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts Doubt regarding integrating shapefile... vinothrajendran4 VirtualPlanetBuilder [vpb] 5 Thu Feb 16, 2017 2:10 pm View latest post
No new posts SingleThreaded leading to whole appli... Christoph Weiss General 33 Thu Sep 22, 2016 3:25 pm View latest post
No new posts Osg application not running on window... manish8892 General 3 Wed Jul 13, 2016 11:30 am View latest post
No new posts Moved to BUILD FORUM - Best Pipeline ... dsargrad General 3 Sun Jun 05, 2016 5:03 pm View latest post
No new posts When writing my own software and inte... diwasbhattarai Build system [build] 4 Tue Mar 22, 2016 1:08 pm View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP