From c63227ab08ef1caa5efe957d6f9472387c9481ae Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Sun, 8 Jan 2012 23:59:10 +0000 Subject: dual controls --- src/testApp.cpp | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/testApp.cpp b/src/testApp.cpp index 7e448fd..2094c34 100644 --- a/src/testApp.cpp +++ b/src/testApp.cpp @@ -74,8 +74,8 @@ void testApp::draw(){ //-------------------------------------------------------------- void testApp::keyPressed(int key){ - //todo: 'both' mode - views[activeView].keyPressed(key); + if (activeView<0) for (int i=0;i