SetupAllegro was successful. Return value was 0
log.InitMutex() returned true
Num raw input devices detected = 13
Checking device 0
Char count is 118
After GRIDI #0, buf holds (\\?\HID#VID_046D&PID_C52B&REV_1201&MI_02&Qid_4026&WI_01&Col03#8&e8ec8b7&0&0002#{4d1e55b2-f16f-11cf-88cb-001111000030})
Byte count is 32 , sizeof(RID_DEVICE_INFO) = 32
Checking device 1
Char count is 103
After GRIDI #1, buf holds (\\?\HID#VID_046D&PID_C52B&REV_1201&MI_02&Col02#8&b45d755&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030})
Byte count is 32 , sizeof(RID_DEVICE_INFO) = 32
Checking device 2
Char count is 103
After GRIDI #2, buf holds (\\?\HID#VID_046D&PID_C52B&REV_1201&MI_02&Col01#8&b45d755&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030})
Byte count is 32 , sizeof(RID_DEVICE_INFO) = 32
Checking device 3
Char count is 95
After GRIDI #3, buf holds (\\?\HID#VID_046D&PID_C52B&MI_01&Col04#7&385c60ce&0&0003#{4d1e55b2-f16f-11cf-88cb-001111000030})
Byte count is 32 , sizeof(RID_DEVICE_INFO) = 32
Checking device 4
Char count is 95
After GRIDI #4, buf holds (\\?\HID#VID_046D&PID_C52B&MI_01&Col02#7&385c60ce&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030})
Byte count is 32 , sizeof(RID_DEVICE_INFO) = 32
Checking device 5
Char count is 61
After GRIDI #5, buf holds (\\?\Root#RDP_KBD#0000#{884b96c3-56ef-11d1-bc8c-00a0c91405dd})
Byte count is 32 , sizeof(RID_DEVICE_INFO) = 32
Checking device 6
Char count is 118
After GRIDI #6, buf holds (\\?\HID#VID_046D&PID_C52B&REV_1201&MI_02&Qid_4026&WI_01&Col01#8&e8ec8b7&0&0000#{884b96c3-56ef-11d1-bc8c-00a0c91405dd})
Byte count is 32 , sizeof(RID_DEVICE_INFO) = 32
Checking device 7
Char count is 89
After GRIDI #7, buf holds (\\?\HID#VID_046D&PID_C52B&MI_00#7&2098d489&0&0000#{884b96c3-56ef-11d1-bc8c-00a0c91405dd})
Byte count is 32 , sizeof(RID_DEVICE_INFO) = 32
Checking device 8
Char count is 69
After GRIDI #8, buf holds (\\?\ACPI#PNP0303#4&398eaf58&0#{884b96c3-56ef-11d1-bc8c-00a0c91405dd})
Byte count is 32 , sizeof(RID_DEVICE_INFO) = 32
Checking device 9
Char count is 61
After GRIDI #9, buf holds (\\?\Root#RDP_MOU#0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd})
Byte count is 32 , sizeof(RID_DEVICE_INFO) = 32
Checking device 10
Char count is 118
After GRIDI #10, buf holds (\\?\HID#VID_046D&PID_C52B&REV_1201&MI_02&Qid_4026&WI_01&Col02#8&e8ec8b7&0&0001#{378de44c-56ef-11d1-bc8c-00a0c91405dd})
Byte count is 32 , sizeof(RID_DEVICE_INFO) = 32
Checking device 11
Char count is 95
After GRIDI #11, buf holds (\\?\HID#VID_046D&PID_C52B&MI_01&Col01#7&385c60ce&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd})
Byte count is 32 , sizeof(RID_DEVICE_INFO) = 32
Checking device 12
Char count is 69
After GRIDI #12, buf holds (\\?\ACPI#PNP0F13#4&398eaf58&0#{378de44c-56ef-11d1-bc8c-00a0c91405dd})
Byte count is 32 , sizeof(RID_DEVICE_INFO) = 32
#kb = 4 , #ms = 4 , #hid = 5

Device # 0 = (\\?\HID#VID_046D&PID_C52B&REV_1201&MI_02&Qid_4026&WI_01&Col03#8&e8ec8b7&0&0002#{4d1e55b2-f16f-11cf-88cb-001111000030})
HID vendor Id = 1133
HID product Id = 50475
HID version number = 4609
HID usage page = 12
HID usage = 1

Device # 1 = (\\?\HID#VID_046D&PID_C52B&REV_1201&MI_02&Col02#8&b45d755&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030})
HID vendor Id = 1133
HID product Id = 50475
HID version number = 4609
HID usage page = 65280
HID usage = 2

Device # 2 = (\\?\HID#VID_046D&PID_C52B&REV_1201&MI_02&Col01#8&b45d755&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030})
HID vendor Id = 1133
HID product Id = 50475
HID version number = 4609
HID usage page = 65280
HID usage = 1

Device # 3 = (\\?\HID#VID_046D&PID_C52B&MI_01&Col04#7&385c60ce&0&0003#{4d1e55b2-f16f-11cf-88cb-001111000030})
HID vendor Id = 1133
HID product Id = 50475
HID version number = 4609
HID usage page = 65468
HID usage = 136

Device # 4 = (\\?\HID#VID_046D&PID_C52B&MI_01&Col02#7&385c60ce&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030})
HID vendor Id = 1133
HID product Id = 50475
HID version number = 4609
HID usage page = 12
HID usage = 1

Device # 5 = (\\?\Root#RDP_KBD#0000#{884b96c3-56ef-11d1-bc8c-00a0c91405dd})
Keyboard type = 81
Keyboard sub type = 0
Keyboard mode = 1
Keyboard # of F-keys = 12
Keyboard # of Indicators = 3
Keyboard total # of keys = 101

Device # 6 = (\\?\HID#VID_046D&PID_C52B&REV_1201&MI_02&Qid_4026&WI_01&Col01#8&e8ec8b7&0&0000#{884b96c3-56ef-11d1-bc8c-00a0c91405dd})
Keyboard type = 81
Keyboard sub type = 0
Keyboard mode = 1
Keyboard # of F-keys = 12
Keyboard # of Indicators = 3
Keyboard total # of keys = 173

Device # 7 = (\\?\HID#VID_046D&PID_C52B&MI_00#7&2098d489&0&0000#{884b96c3-56ef-11d1-bc8c-00a0c91405dd})
Keyboard type = 81
Keyboard sub type = 0
Keyboard mode = 1
Keyboard # of F-keys = 12
Keyboard # of Indicators = 3
Keyboard total # of keys = 173

Device # 8 = (\\?\ACPI#PNP0303#4&398eaf58&0#{884b96c3-56ef-11d1-bc8c-00a0c91405dd})
Keyboard type = 4
Keyboard sub type = 0
Keyboard mode = 1
Keyboard # of F-keys = 12
Keyboard # of Indicators = 3
Keyboard total # of keys = 101

Device # 9 = (\\?\Root#RDP_MOU#0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd})
Mouse ID = 2
Number of mouse buttons = 2
Mouse sample rate = 60
Mouse does not have a horizontal scroll wheel

Device # 10 = (\\?\HID#VID_046D&PID_C52B&REV_1201&MI_02&Qid_4026&WI_01&Col02#8&e8ec8b7&0&0001#{378de44c-56ef-11d1-bc8c-00a0c91405dd})
Mouse ID = 256
Number of mouse buttons = 16
Mouse sample rate = 0
Mouse does not have a horizontal scroll wheel

Device # 11 = (\\?\HID#VID_046D&PID_C52B&MI_01&Col01#7&385c60ce&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd})
Mouse ID = 256
Number of mouse buttons = 16
Mouse sample rate = 0
Mouse does not have a horizontal scroll wheel

Device # 12 = (\\?\ACPI#PNP0F13#4&398eaf58&0#{378de44c-56ef-11d1-bc8c-00a0c91405dd})
Mouse ID = 32
Number of mouse buttons = 5
Mouse sample rate = 40
Mouse does not have a horizontal scroll wheel

InitRawInfo was successful
rids.size() = 2
RegisterDevices was successful
