thank you all.
Actually I am testing out this, but I couldn't get it through compilation on Studio6.
AVR328: USB Generic HID Implementation on megaAVR devices
(file size: 4013212, 13 pages, revision C, updated: 07/2008)
I also follow the document on how to migrate Studio4 to Studio6 document.
------- Atmel AVR544: Migrating megaAVR USB projects to Atmel AVR Studio 5/6
(file size: 955KB, 10 pages, revision A, updated: 04/2012)
Error 1 variable 'usb_dev_desc' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
Error 2 variable 'usb_conf_desc' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
Error 3 variable 'usb_user_manufacturer_string_descriptor' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
Error 4 variable 'usb_user_product_string_descriptor' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
Error 5 variable 'usb_user_language_id' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
- - - Updated - - -
I am trying on the older version now (Studio4).