XIM Community

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - gduck24

Pages: [1] 2 3 ... 24
1
Member Projects / Re: N52te internals replaced by Teensy
« on: 10:32 AM - 07/29/19 »
Here is for joystick buttons:
Code: [Select]
void setup()
{
Joystick.useManualSend(true);

pinMode(0, INPUT_PULLUP);
pinMode(1, INPUT_PULLUP);
pinMode(2, INPUT_PULLUP);
pinMode(3, INPUT_PULLUP);
pinMode(4, INPUT_PULLUP);
pinMode(5, INPUT_PULLUP);
pinMode(6, INPUT_PULLUP);
pinMode(7, INPUT_PULLUP);
pinMode(8, INPUT_PULLUP);
pinMode(9, INPUT_PULLUP);
pinMode(10, INPUT_PULLUP);
pinMode(11, INPUT_PULLUP);
pinMode(12, INPUT_PULLUP);
pinMode(24, INPUT_PULLUP);
pinMode(25, INPUT_PULLUP);
pinMode(26, INPUT_PULLUP);
pinMode(27, INPUT_PULLUP);
pinMode(28, INPUT_PULLUP);
}
void loop() {

Joystick.button(1, !digitalRead(2));
Joystick.button(2, !digitalRead(3));
Joystick.button(3, !digitalRead(4));
Joystick.button(4, !digitalRead(5));
Joystick.button(5, !digitalRead(6));
Joystick.button(6, !digitalRead(7));
Joystick.button(7, !digitalRead(8));
Joystick.button(8, !digitalRead(9));
Joystick.button(9, !digitalRead(10));
Joystick.button(10, !digitalRead(11));
Joystick.button(11, !digitalRead(12));
Joystick.button(12, !digitalRead(24));
Joystick.button(13, !digitalRead(25));
Joystick.button(14, !digitalRead(26));
Joystick.button(15, !digitalRead(27));
Joystick.button(16, !digitalRead(28));

Joystick.X(analogRead(0));
Joystick.Y(analogRead(1));

if(touchRead(18) > 3000) Joystick.button(17, 1);
else Joystick.button(17, 0);
if(touchRead(19) > 3000) Joystick.button(18, 1);
else Joystick.button(18, 0);

Joystick.send_now();
}
Use with VER2 (G13) code.

I will need to check later if joystick, mouse and kb are possible at the same time with xim4e now that it supports composite devices.

About the NKRO6: Kb buttons have it, but joystick buttons does not have that limit.

btw: Knew it was the code, but was just hoping it still would work. Would have saved me from some coding and testing...

I am still using this same code on my teensy orbweaver as originally posted.  Now that Xbox allows keyboad and mouse on some games I would like to see if I can make this work with keyboard keys instead of joystick buttons for native support.  Has anybody tried this yet?  Any idea what mods on the code would need to be made?  I have a feeling I will lose the analog input if I just change to a usb keyboard by teensy.


If the best I could do was get to where I can get it to work as a keyboard only without analog on native, but working with the analog and keyboard with XIM that would be good enough.  Trying to play minecraft and I dont want to have to change my setup for just those games.

2
Member Projects / Re: Homemade Gaming Lap Desk
« on: 06:07 PM - 03/07/18 »
I did make one out of ply.  It was 1/2" russian birch.  8 or 9 ply.

Hey Gduck how what were the dimensions of the ply you bought before you cut into it?

I used to have a cabinet shop.  The plywood we got was weird.  5 feet wide by 5 feet tall.  Smelled like popsicle sticks.  Lowes and home depot have similar stuff, but its more American sized like 2'x4'.  Just check the plys.  The better stuff has more.   

3
Member Projects / Re: Homemade Gaming Lap Desk
« on: 12:24 PM - 02/05/18 »
I did make one out of ply.  It was 1/2" russian birch.  8 or 9 ply.

4
Member Projects / Re: Homemade Gaming Lap Desk
« on: 12:32 PM - 12/31/17 »
I don't know if roads made the exact same desk. He was a modder, so without him chiming in I could not say. I am not on the discord.

The desk I made served me very well. The main changed people made send to be revolving around the cut out for fitting in a chair or around you. I think if you stay close to the original dimensions you will be fine.

5
Member Projects / Re: Homemade Gaming Lap Desk
« on: 09:13 AM - 12/31/17 »
I'm still around. Not gaming much anymore but I'll try to answer any questions.

6
anybody have the pictures that roads posted from the beginning?  I am a picture guy and I am redoing the wiring on this mod and need pictures.

7
Member Projects / Re: Homemade Gaming Lap Desk
« on: 06:56 PM - 05/14/16 »
Nice! Have you played the over watch beta?


Sent from my iPhone using Tapatalk

8
Member Projects / Re: Homemade Gaming Lap Desk
« on: 09:06 PM - 12/14/15 »
Its got a curve for my belly..lol
That way you can make it to where no chip crumbs manage to escape.

9
Member Projects / Re: Homemade Gaming Lap Desk
« on: 05:40 PM - 10/26/15 »
Nah, about 1/4 so 7mm or so I guess

10
Member Projects / Re: Homemade Gaming Lap Desk
« on: 05:05 PM - 10/26/15 »
You mentioned that your magnets are a little bigger than 1/2 inch, but the 7mm magnets in your link are closer to 1/4 inch.  Just wondering if that is the issue.  Thanks
Crap. You know what - I prolly posted the wrong link back a few pages too. The magnets are close to 1/2 though. That is definitely the issue.


12
Member Projects / Re: Homemade Gaming Lap Desk
« on: 10:08 PM - 10/23/15 »
Nice job! I like that center grommet. It's always neat to see everyone's layouts. That g502 is a bad mamajamma. My favorite mouse so far.

Those magnets look small. Maybe they are one size less than the ones I have. I'll look tomorrow but I believe mine are a tad bigger than 1/2 inch. It's hard to tell the scale, but yours look closer to 3/8ths or less. Also, on my controller and keyboard the magnets are completely on the laminate, no air gap.

13
Member Projects / Re: Homemade Gaming Lap Desk
« on: 06:16 PM - 10/23/15 »
Finally finished the desk and the magnets you recommended are not even close to holding the controller or Nostromo keypad in place.  Any suggestions?  Could it be the width of the laminate (didn't think to ask if there are different widths)?  Or just a bad batch of magnets?
Laminate should only be about 1/16 thick. My magnets hold them with ease. I would start there.

Got any pics of desk and said magnets?

14
Game Support / Re: Vehicle turning tips and library
« on: 06:09 AM - 05/22/15 »
There are simply to many possibilities for them to make more configs for vehicles.  The community usually figures or something pretty quick. Vehicles in bf4 will never be like the computer because of the turning limits in the game.  The standard bf4 config will work fine, it just need the tweaks that are in this thread.  The limits of the game and controller are what hinders the xim. 

There are some videos that show how to bind and set up the app. I will agree the app has a learning curve but the forums are great help.  I can set up a new config for any game in a matter of minutes. When you are in the app select the button you want to change, then hit the actual button on the controller. It's jus like binding keys on a computer game.  If you are using a keyboard bind wasd to the left stick and you will be able to move if you change the game controls to use the left stick for gas instead of the triggers.

15
Game Support / Re: Vehicle turning tips and library
« on: 01:20 PM - 05/21/15 »
I think you will have to mess with the control profiles on the game to get gas and brake to match up with keys. Only two profile are necessary.

Pages: [1] 2 3 ... 24