1 /* Copyright (C) 2005-2011 Fabio Riccardi */ 2 3 package com.lightcrafts.platform.linux; 4 5 /** 6 * A JNI wrapper for the Linux implementation of Platform.isKeyPressed(). 7 */ 8 class LinuxKeyUtil { 9 isKeyPressed( int keyCode )10 static native boolean isKeyPressed( int keyCode ); 11 12 static { 13 System.loadLibrary( "Linux" ); 14 } 15 } 16