Giter VIP home page Giter VIP logo

nil's Introduction

Hi, I'm Noora!

C C++ Visual Studio OpenGL TypeScript AWS Node Ember Vue.js Windows Debian Ubuntu

I've been developing stuff for a while. I'll fill this profile properly at some point, probably.
X86 & embedded ARM native. Graphics & gamedev, OS internals, networking & infosec. Fullstack & SaaS @ web.
Freelancer, available for hire. Currently server & networking lead on a multiplayer card game.

Public Statistics








Counter

nil's People

Contributors

noorus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

nil's Issues

Maybe switch to supporting only a single listener per device/instance

Constant multi-listener support might be somewhat taxing both for the implementer and for the callbacks. Actually utilising multiple listeners per device seems like a rather exceptional use case, which the end-application could then implement themselves.
To be investigates or at least thought about.

Direct HID support for mouse & keyboard

After completing the HID manager, implement direct mouse & keyboard support by HID communication. This way the precision and speed limitations of going through the OS & DirectInput layer are easily surpassed.

Make XInput optional

Currently throws an exception if XInput load or init fails.
Can't really see it happening, but there's no reason to not be flexible about it since the module "system" is dynamic anyway.

Support for pen input

Currently a Wacom tablet is not detected as an input device at all, yet simple point and click games might be played with a pen.
As it is similar to touch input, maybe take that into account at the same time.

Multiple devices with same VID/PID

Hi!

I'm having an issue when connecting 2 DInput gamepads of the same model simultaniously. Depending on what order I connect them, sometimes only one of them will work. And in that case the working one will be initiated 2 times. So in your test application this means pressing button 0 on joypad #1 causes this output:

Controller button 0 pressed (USB 2A8K GamePad)
Controller button 0 pressed (USB 2A8K GamePad)
Controller button 0 released (USB 2A8K GamePad)
Controller button 0 released (USB 2A8K GamePad)

But pressing the same button on joypad #2 doesn't render any output at all.

This problem traces back to the way DInput genrates GUID's. There seems to be a bug when connecting several gamepads of the same model, so that depending on the order of connection sometimes DInput will actually change GUID of certain controllers. I've tried really hard to find a workaround for this but havn't come up with something. Do you have any ideas? :-)

HidD_GetAttributes fails on Windows 10 under VMware

Not sure if the reason is a specific (emulated) device, Windows 10 in general or something that VMware does, but failing to fetch attributes for a single device probably should not cause the entire library to fail. Such a device should simply be skipped over.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.