Navigation

    ViGEm Forums

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Twitter
    • GitHub
    • Discord

    HID pipe

    HID & DInput
    1
    9
    324
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Flarum Bot
      Flarum Bot last edited by

      Originally posted by jaka


      Hi nefarius!

      I would like to create a generic HID pipe. My idea is to use the bus driver to forward all of the HID ioctls to an app. Since you have experience I was wondering if you would be willing to answer a few question in regards to the implementation.

      To get things moving here is my idea:

      -when app opens driver file the driver installs mshidkmdf
      -bus driver forwards all of the "internal device" requests from mshidkmdf to the app
      -app processes the request and returns it to the driver
      -the driver competes the request after 5ms

      BR

      1 Reply Last reply Reply Quote 0
      • Flarum Bot
        Flarum Bot last edited by

        Originally posted by nefarius


        You wouldn't even need mshidkmdfin this case. Since the bus emulates an USB bus, the function driver HIDUSB and HIDCLASScan be (ab)used to interact with the system.

        An implementation is possible as far as I can see from your request but I currently can't make any estimates on when I'd add this feature.

        1 Reply Last reply Reply Quote 0
        • Flarum Bot
          Flarum Bot last edited by

          Originally posted by nefarius


          [[1],[6]]

          1 Reply Last reply Reply Quote 0
          • Flarum Bot
            Flarum Bot last edited by

            Originally posted by jaka


            Thats great!
            Ok I'll take a look at ViGEmUM.NET
            br

            1 Reply Last reply Reply Quote 0
            • Flarum Bot
              Flarum Bot last edited by

              Originally posted by nefarius


              Don't expect too much yet 😉

              1 Reply Last reply Reply Quote 0
              • Flarum Bot
                Flarum Bot last edited by

                Originally posted by jaka


                Hi nefarious,

                how are you doing?
                Will you find time to collaborate with me?
                BR

                1 Reply Last reply Reply Quote 0
                • Flarum Bot
                  Flarum Bot last edited by

                  Originally posted by nefarius


                  I'll try my best; what do you need?

                  1 Reply Last reply Reply Quote 0
                  • Flarum Bot
                    Flarum Bot last edited by

                    Originally posted by jaka


                    I would like to create virtual HID device (virtual joystick in my case). Is it possible to forward all of the IRP_MJ_INTERNAL DEVICE_CONTROL requests from the system to the app and wait for the app to respond?
                    That would allow an application developer to specify any HID descriptor and handle the subsequant requests within the application.
                    I have some experience programming HId microcontroller but haven't done any driver development or any app-driver communication. This is where i need your help or at least with driver part. With your guidance I can do the communication part.
                    Of course I'm willing to share my work with ViGEm community.
                    BR jaka

                    1 Reply Last reply Reply Quote 0
                    • Flarum Bot
                      Flarum Bot last edited by

                      Originally posted by jaka


                      Hi nefarious!

                      Can you please give some feedback on virtual HID device?
                      BR

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post