Questions about Arduino HID

Hi. I'm currently working on making an Arduino mouse/keyboard HID and i have a few questions.

  1. When an arduino is flashed with a mouse/keyboard HID firmware or any firmware, how will i upload my sketch?
  2. Can i still use all the functions and libraries in the original arduino firmware after i flashed it with a new one?
  3. Is it possible to make an arduino mouse/keyboard HID mouse that waits for a serial input from the PC and and move the cursor or press keys depending on the serial data received from the PC? Currently i only have an arduino uno and arduino due, how can i do this with what i have?
  4. Can i use an arduino uno as both a keyboard and mouse HID at the same time?
    I'm still new to arduino so any answer and insight will be appreciated.

When an arduino is flashed with a mouse/keyboard HID firmware or any firmware, how will i upload my sketch?

Please explain what you firmware you are flashing to the Arduino

AFIK. The Uno can't act as a HID on its own, the Leonardo and Micro and Due have this capability

The Leonardo etc, appear as multiple devices to the PC, ie both Keyboard and mouse and serial port (all at the same time)

Hi Roger,
I'm using the keyboard firmware found on at http://hunt.net.nz/users/darran/weblog/b3029/Arduino_UNO_Keyboard_HID_version_03.html#comments. Do you know how can i do it using arduino due/leonardo?

Do you know how can i do it using arduino due/leonardo?

This is documented in the Reference section of this website:

http://arduino.cc/en/Reference/MouseKeyboard