We can find some usable resource in this site. http://www.gamerendering.com/ Programming.Vertex.Geometry.and.Pixel.Shaders: ebook http://code.google.com/p/infiniteengine/downloads/detail?name=Programming.Vertex.Geometry.and.Pixel.Shaders%28dx10%29.pdf&can=2&q=
If you want your JNI program process with your native dll's keyboard I/O, you must implement keyboard hook function. http://www.jotschi.de/?p=90 http://www.codingforums.com/showthread.php?t=147913