So can you provide the output you get for different input characters?
So I get managed it to work, with help of this i've getting it to work
From http://geekhack.org/showwiki.php?title=Scan+Codes
Scan Code set for USB Keyboard
Set4 AKA USB HID
Many manufacturers move the key that is in either the 5C or 53 position to the 5D position,
while having it retain its old scan code, (AT keyboard layout) Set4 was designed for the 101-key keyboard.
--- --------------- --------------- --------------- -----------
| 29| | 3A| 3B| 3C| 3D| | 3E| 3F| 40| 41| | 42| 43| 44| 45| | 46| 47| 48|
--- --------------- --------------- --------------- -----------
----------------------------------------------------------- ----------- ---------------
| 35| 1E| 1F| 30| 21| 22| 23| 24| 25| 26| 27| 2D| 2E|(5C) 2A| | 49| 4A| 61| | 53| 54| 55| 56|
|-----------------------------------------------------------| |-----------| |---------------|
| 2B| 14| 1A| 08| 15| 17| 1C| 18| 0C| 12| 13| 2F| 30| (31)| | 4C| 4D| 4E| | 5F| 60| 61| |
|-----------------------------------------------------------| ----------- |-----------| 57|
| 39| 04| 16| 07| 09| 0A| 0B| 0D| 0E| 0F| 33| 34|(53) 28| | 5C| 5D| 5E| |
|-----------------------------------------------------------| --- |---------------|
| E1 (64)| 1D| 1B| 06| 19| 05| 11| 10| 36| 37| 38|(87) E5| | 52| | 59| 5A| 5B| |
|-----------------------------------------------------------| ----------- |-----------| 58|
| E0| | E2| (8B)| 2C| (8A)| (88)| E6| | E4| | 50| 51| 4F| | 62| 63| |
----- --------------------------------------- ----- ----------- ---------------
This shows the Keyboardlayout for an USB Keyboard and with it I set the ASCII-Code to the Scan-Code where the Key is.
but there is the problem now there are some Keys like € it has the ASCII-Code 80 its already used by SHIFT in the HID.ccp and the Modifiere Keys are placed in range of some special Letters on the ISO-8859-1.
At this point I have no idea how to merge it with the Letters and I looking for an option to make an connection for the ALT GR Key some ASCII-Codes on my Layout are on the 3rd Layer like { or ] or @ so I thinking how to merge it usefully...
Modified Code will follow after I cleaned the mess in the HID.ccp I arranged.
EDIT:
Files added!