-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.Net Core Support #14
Comments
Since The core libraries are .NetStandard, they support .Net Core. The reason the samples aren't .Net Core is the lack of System.Windows.Forms support in .Net Core, which is coming in .Net Core 3, although that will be for .Net Core on Windows Desktop initially, I am sure it will be ported to Linux/MacOS in the future. How is your project interacting with the user, is it cmd line or graphical? |
Thing is, my project creates an Opentk window and renders to it. we have a working port of Opentk for Net Core, and the renderer works well, just not the input part. That side has a few issues. |
I would be very interested in seeing the port of OpenTK to .Net Core, For this project and Axiom Which platforms are you targeting? Windows, MacOS, iOS, Android, X11? |
Windows, linux and mac. though mac isn't really supported due to bad Opengl support on it. The opentk port is here, https://github.com/Ryujinx/Opentk . with the project being Ryujinx. The port is pretty 'minimal', is more of a direct port. |
I will add a OpenTK Sample using the OpenTK.NetStandard package for you. |
Thanks. |
the nuget package is this, https://www.nuget.org/packages/OpenTK.NetStandard/ |
Yeah, I saw that, that's great! |
I want to ask, how is game pad support, esp for generic game pads. OpenTK tries to simulate XBox style layout, but that is not suitable for a lot of pads. |
I'd have to double check, but I don't think I assume any particular layout, just identify inputs and their current values. So if a pad has two sticks then it is reported as 4 separate axis, and if the pad has 6 buttons and two triggers then it might be reported as 6 buttons and and additional axis for the triggers. |
Oh, that's great. |
Any progress on the example? |
I am now able to run the library on net core, with some workarounds using a console application. |
@emmauss, many thanks for the bugs that you have reported, my apologies for taking so long to address the sample issue, I will be getting to that shortly. You are going to be added to the contributors list for your efforts, again, thanks. cc @all-contributors |
@all-contributors Please add @emmauss for contributing bugs |
I've put up a pull request to add @emmauss! 🎉 |
@borrillis hi borrilis, um trying to use SharpInputSystem to handle keyboard input to be able to run my ,netcore project on linux, can you write any sample for it please. Thanks, |
Is it possible to add .net core support support. I am currently looking for an input library for my project, which is a Net Core project. And it seems that sharpinput does not support NetCore, though it targets Net Standard.
The text was updated successfully, but these errors were encountered: