Click here to Skip to main content
15,897,518 members

Comments by User-15002776 (Top 5 by date)

User-15002776 18-Sep-22 20:55pm View    
I've fixed it by adding r16.

So it now is: out PORTB, r16

However this generate 24 lines of errors saying that: Source file not found: (no file)!

User-15002776 18-Sep-22 9:49am View    
Thank you, I have checked and it still seems to have an error with the PORTB:

error="="> out PORTB
[exp1.asm,56] 091: Missing or unknown parameter(s)!

Any idea why that is? Thank you!
User-15002776 20-Jan-21 23:16pm View    
Hi Garth J Lancaster, thanks for the reply! Yeah, I've managed to implement the visual output for left and right directions on the thumbstick on a richtext box in the visual studio (basically talking to the hardware). I'm trying to get the position of the thumbstick on the x-axis only (possibly showing some sort of output on the window form to show it works). Since I've updated the question to the joystick state which I think is the right one for joystick positioning there is no errors when I paste the (public int Z { get; }) in. But I"m not sure where to go from here, such as how to implement it. Thank you!
User-15002776 17-Jan-21 20:43pm View    
Oh.... xD
User-15002776 14-Jan-21 20:44pm View    
Hey RickZeeland, I've taken a look at the library that you suggested, there doesn't seem to be any tutorial, however I"ve downloaded the demo file and installed the setup exe and I've connected the joystick to the exe program showing all the outputs. Are there any quick pointers on how to use this library? I'm assuming I just need to import the library with (using Hid = SharpLib.Hid;) at the top of my form1.cs file. And to assign the buttons I need to use something with WM_INPUT. Thank You!