When I receive an "IOCTL_HID_READ_REPORT" request in my InternalDeviceControl function I forward the request to the appropriate queue with the following line of code (followed by the appropriate code to check for a failed forwarding attempt): Including a keyboard TLC in my report descriptor, creating a keyboard input structure and reporting the key scan codes to the system under the report ID that I specified in my keyboard TLC?Ġx05, 0x01, // USAGE_PAGE (Generic Desktop)Ġx85, REPORTID_MOUSE, // REPORT_ID (Mouse) (REPORTID_MOUSE = 0x01)Ġx16, 0x01, 0x80, // LOGICAL_MINIMUM (-32767)Ġx26, 0xff, 0x7f, // LOGICAL_MAXIMUM (32767)
Am I correct in thinking that I can accomplish this by I also want the device to function as a fake HID keyboard so that I can send keyboard shortcuts to the system or active application (eg. Does anyone have any thoughts on what could be causing this behavior? My report descriptor looks alright to me and my mouse input report structure matches the descriptor. I also see that the driver is sending data because the system continues to send read requests (after each time the driver sends new mouse data) but the pointer Statements I can see that the driver is receiving accurate relative x,y data from the device. My driver receives data from the device successfully but does not send the mouse input report to the system correctly. changed report descriptor and implemented other customized code). I started from the HidUsbFx2 sample driverĪnd altered the code as necessary (ie. I posted in other post but it got closed.Įrrorcode: 713C1F46-993A-42AD-B4E8-CA20208C4C6EĬan you please take a look and maybe help me.Newbie here, I am writing a driver for a device that I want to use as a HID mouse/pointer and I am having some weird issues with reporting the mouse data to the system. The NGX error is just where the game crashes at not what’s actually causing the crash.ĩ/25 22:22:37.683 : NVSDK_NGX_D3D12_Init failed, error code: -1160773631ĩ/25 22:22:40.205 : Could not find ExecuteCommandCallback: Helpĩ/25 22:22:41.038 : Could not find ExecuteCommandCallback: InviteSentListĩ/25 22:22:41.038 : Could not find ExecuteCommandCallback: InviteReceivedListĩ/25 22:22:41.038 : Could not find ExecuteCommandCallback: Listĩ/25 22:22:41.038 : Could not find ExecuteCommandCallback: Addĩ/25 22:22:41.038 : Could not find ExecuteCommandCallback: Removeĩ/25 22:22:41.038 : Could not find ExecuteCommandCallback: InviteAcceptĩ/25 22:22:41.038 : Could not find ExecuteCommandCallback: InviteRejectĩ/25 22:22:41.038 : Could not find ExecuteCommandCallback: IgnoreNotificationsĩ/25 22:22:41.038 : Could not find ExecuteCommandCallback: IgnoreWhisperĩ/25 22:22:41.039 : Could not find ExecuteCommandCallback: UnignoreWhisperĩ/25 22:22:41.039 : Could not find ExecuteCommandCallback: IgnorePrivateĩ/25 22:22:41.039 : Could not find ExecuteCommandCallback: UnignorePrivateĩ/25 22:22:41.039 : Could not find ExecuteCommandCallback: IgnorePublicĩ/25 22:22:41.039 : Could not find ExecuteCommandCallback: UnignorePublicĩ/25 22:22:41.039 : Could not find ExecuteCommandCallback: UnignoreNotificationsĩ/25 22:22:41.039 : Could not find ExecuteCommandCallback: IgnoreWhisperĩ/25 22:22:41.039 : Could not find ExecuteCommandCallback: NotifyToggleĩ/25 22:22:41.040 : Could not find ExecuteCommandCallback: UnignoreWhisperĩ/25 22:22:41.040 : Could not find ExecuteCommandCallback: IgnorePrivateĩ/25 22:22:41.040 : Could not find ExecuteCommandCallback: UnignorePrivateĩ/25 22:22:41.040 : Could not find ExecuteCommandCallback: IgnorePublicĩ/25 22:22:41.040 : Could not find ExecuteCommandCallback: UnignorePublicĩ/25 22:22:41.040 : Could not find ExecuteCommandCallback: Dndĩ/25 22:22:41.041 : Could not find ExecuteCommandCallback: Awayĩ/25 22:22:41.046 : Could not find ExecuteCommandCallback: Onlineĩ/25 22:22:41.046 : Could not load Command file: data/global/commands/offline.json Also you will get that error if your card does not support the ngx feature set, I checked against logs on my booting copy and that error still pops up but the game still runs fine.