You're just asking way too much in a single question. As you start to work on the project and wrap around what you're going to need to do, you'll obviously hit obstacles (like your device not being seen as a HID even though you're sure the code you wrote should be working) - that's where we can help you.
We're very good with self-contained problems, one at a time, where a few paragraphs and perhaps some code are all that's needed to give you a great answer. You'll probably ask .. 10 or so questions while you work through your project, each one being about a very specific problem that you encountered.
What you've got is just too much with too little detail, and even if you provided a lot more detail, I'm not sure an answer would even fit in the maximum number of characters we allow :) That's the main problem.