public MainInterface() { // Set up the listener listener = new LeapControl(); listener.FrameReady += UpdateFrame; // Set up both modules with the various settings mouse = new PointerModule(); keyboard = new KeyboardModule(); // Get the screen size - could scale based on a switch statement from this, set some properties etc screenWidth = SystemParameters.PrimaryScreenWidth; screenHeight = SystemParameters.PrimaryScreenHeight; }