kolrabi / steamcontroller Goto Github PK
View Code? Open in Web Editor NEWA library for accessing the Steam Controller without the Steam SDK or Steam.
License: MIT License
A library for accessing the Steam Controller without the Steam SDK or Steam.
License: MIT License
I am attempting to build this library from source and get the example.c to run, but I continue to run it to errors trying to compile it using cmake.
Am I doing something wrong? I have not changed anything, I am just attempting to run the example you provided (example.c).
Thanks
I'm trying to figure out if there is a way to use this library asynchronously.
Currently I'm using the following (utilizing c++11 threads):
void handleController()
{
while(running)
{
SteamControllerEvent sce;
for(auto dev : devices)
SteamController_ReadEvent(dev, &sce);
}
}
// ...
std::thread hC(handleController);
// do something
hC.join();
The problem is that SteamController_ReadEvent blocks all execution until the next event is received. Which means that my application does not close until I press some button or move the joystick.
I also tried adding the following before hC.join();
hoping that it would cancel reading the events, but to no avail.
for(auto dev : devices)
SteamController_Close(dev);
What's the intended way to do this? Or is this even possible?
Hi, your readme is a little confusing - it says "This is a little C library for Linux based operating systems", however there does seem to be some Windows-specific stuff in here.
I want to be able to read input from an SC in my remapping application (UCR) which is a Windows C# app.
Would it be possible to use this library to read input from the SC from arbitrary C# code?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.