Some doubts in LWJGL

Hello guys. Now I’m converting my java 2d based game engine to use lwjgl and I’ve ran into some doubts.

  • How can I embed the natives into the JAR file of my library jar?
  • How to convert [icode]KeyEvent[/icode] constants to LWJGL?

Thanks.