i want to create a program that will be run in background and when we press any key it will note key values.