You seem to understand that certain keyboard interrupts send signals, and that you can cause kill to raise them (not everyone does).
You appear to be saying that you want to generate the keyboard interrupts from withing your program, and I don't understand why you can't just call the required function. Why do you need to invoke a signal to do it?