RazorSharpFang
RazorSharpFang
CC#
Created by stigzler on 4/2/2024 in #help
Visual Studio + WPF: "Could Not Load Assembly" despite dlls being available and reference correct
If the item exists in the visual studio solution explorer Check that it has Copy to output directory: Always
19 replies
CC#
Created by stigzler on 4/2/2024 in #help
Visual Studio + WPF: "Could Not Load Assembly" despite dlls being available and reference correct
Can you double-check that it is actually being copied into the target output directory?
19 replies
CC#
Created by stigzler on 4/2/2024 in #help
Visual Studio + WPF: "Could Not Load Assembly" despite dlls being available and reference correct
Does the app itself compile? The WPF designer is bad.
19 replies
CC#
Created by Lyakabynka on 7/13/2023 in #help
❔ Hangfire: Guid instead of Int BackgroundJob.Schedule
You could add another table that associates integers with guids when
30 replies
CC#
Created by Lyakabynka on 7/13/2023 in #help
❔ Hangfire: Guid instead of Int BackgroundJob.Schedule
Is BackgroundJobClient your class that you wrote?
30 replies
CC#
Created by RazorSharpFang on 6/19/2023 in #help
❔ Visual Studio break when Module Loaded
Part of why I ask is that we're repeatedly loading and unloading modules and I'm trying to diagnose why that happens
3 replies
CC#
Created by RazorSharpFang on 5/18/2023 in #help
✅ Windows Joystick API
I do not have nor have found any good solutions to this, without taking the dependency on the GDK and utilizing GameInput, which is only going for work for Windows 10+ and may require a redistributable for older builds of Windows 10 that haven't received the Windows Gaming Services updates that supply the computer with the required runtime and libraries.
29 replies
CC#
Created by RazorSharpFang on 5/18/2023 in #help
✅ Windows Joystick API
The dpad is registered as one value provider instead of a series of buttons.
29 replies
CC#
Created by RazorSharpFang on 5/18/2023 in #help
✅ Windows Joystick API
I have no idea how to associate a DirectInput device that is an XInput device with a specific XInput user index
29 replies
CC#
Created by RazorSharpFang on 5/18/2023 in #help
✅ Windows Joystick API
I may have to instead use DirectInput and ignore XInput capable devices https://learn.microsoft.com/en-us/windows/win32/xinput/xinput-and-directinput
29 replies
CC#
Created by RazorSharpFang on 5/18/2023 in #help
✅ Windows Joystick API
This literally ruins my entire purpose of trying to use RawInput. This makes me very sad.
29 replies
CC#
Created by RazorSharpFang on 5/18/2023 in #help
✅ Windows Joystick API
I can confirm with much misery and with great lamentations that RawInput suffers from the same limitation that DirectInput has; it groups the left and right triggers as a single analog input rather than two discrete separate inputs.
29 replies
CC#
Created by RazorSharpFang on 5/18/2023 in #help
✅ Windows Joystick API
catthinking
29 replies
CC#
Created by RazorSharpFang on 5/18/2023 in #help
✅ Windows Joystick API
HidP_GetUsages returns only those buttons in usage which are actually pressed.
29 replies
CC#
Created by RazorSharpFang on 5/18/2023 in #help
✅ Windows Joystick API
Does an Xbox controller really have 16 buttons?
29 replies
CC#
Created by RazorSharpFang on 5/18/2023 in #help
✅ Windows Joystick API
WM_INPUT: Type: 2, Device: 0x717c0911, Size: 16, Count: 1, data: 0, GetRawInputDeviceInfoW says buffer size of 940 required. We have 1 buttons and 6 axes I think you have 16 buttons
Is one of my app's log statements.
29 replies
CC#
Created by RazorSharpFang on 5/18/2023 in #help
✅ Windows Joystick API
To be clear, I'm struggling most with getting the state from the HID device, not registering for raw-input
29 replies
CC#
Created by RazorSharpFang on 5/18/2023 in #help
✅ Windows Joystick API
Okay but I'm struggling with actually getting the joystick state from the device
29 replies
CC#
Created by RazorSharpFang on 5/18/2023 in #help
✅ Windows Joystick API
No, that's for keyboard and mouse input, not for joystick/gamepad input
29 replies
CC#
Created by RazorSharpFang on 5/18/2023 in #help
✅ Windows Joystick API
If you want joystick and button inputs it looks like you have to start using these APIs HidP_GetUsages https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/hidpi/nf-hidpi-hidp_getusages
29 replies