Search found 20 matches

by frank26080115
Tue Nov 19, 2013 7:49 pm
Forum: Development
Topic: DualSHock 4 USB spoofing
Replies: 2
Views: 6771

Re: DualSHock 4 USB spoofing

every time you press the PS button on a real DS4, a SET_REPORT is sent, this seems to happen regardless of whether or not the controller is paired I relay this down to the DS4 and nothing special happens, still doesn't work. but when I emulate the same PS button press using keyboard, there is no SET...
by frank26080115
Tue Nov 19, 2013 7:12 pm
Forum: Development
Topic: DualSHock 4 USB spoofing
Replies: 2
Views: 6771

DualSHock 4 USB spoofing

I got my PS4 and I am using my USBXLATER project to attempt to let me emulate a DualShock 4 I am soooooo very close. My enumeration works, and I can send HID reports. But the PS4 itself refuses to react to different inputs. I'm a bit stuck... either PS4 just refuses to take USB input or I'm doing so...
by frank26080115
Sun Nov 10, 2013 10:23 pm
Forum: Development
Topic: UsbXlater Preview
Replies: 14
Views: 18317

Re: UsbXlater Preview

oh yea, there's a jumper called boot, place a jumper block between the two pins closest to the female USB connector, then hit reset. It should then idle in system bootloader mode there is no indication, and it won't enumerate through the micro-USB side, you need the serial port for this the triangle...
by frank26080115
Sat Nov 09, 2013 11:04 pm
Forum: Development
Topic: UsbXlater Preview
Replies: 14
Views: 18317

Re: UsbXlater Preview

yea... let's not get into OS wars anyways, I just made some improvements, you should check for new commits and read the log, and/or subscribe to notifications if you want the latest changes will turn the device into a virtual serial port if it detects that you are connected to a PC instead of PS3, a...
by frank26080115
Fri Nov 08, 2013 11:05 pm
Forum: Development
Topic: UsbXlater Preview
Replies: 14
Views: 18317

Re: UsbXlater Preview

Wow that was surprisingly fast. I haven't even put up the code yet. Please wait. Edit: https://github.com/frank26080115/UsbXlater My mouse code only works with my mouse right now because it's hardcoded to decode 12 bit axis coordinates. I don't have a good strategy for decoding arbitrary reports on ...
by frank26080115
Tue Nov 05, 2013 7:58 pm
Forum: Development
Topic: UsbXlater Preview
Replies: 14
Views: 18317

Re: UsbXlater Preview

Any of those converters should work, but try making sure you are using 3.3V and not 5V I'm not sure about the capabilities of your sniffer, but anything helps I'll provide more instructions soon, meanwhile, read http://eleccelerator.com/wiki/index.php?title=STM32_Starter_Guide , you'll need to use t...
by frank26080115
Tue Nov 05, 2013 2:34 pm
Forum: Development
Topic: mouse acceleration curve
Replies: 7
Views: 11159

Re: mouse acceleration curve

My mouse uses 12 bits, two axis packed into 3 bytes, very annoying to decode

Battlefield 4's vehicle controls have a different curve so I made my ALT key give my mouse a gain of x16 or else it is unplayable.
by frank26080115
Tue Nov 05, 2013 3:10 am
Forum: Development
Topic: mouse acceleration curve
Replies: 7
Views: 11159

Re: mouse acceleration curve

wow filtering and the anti-acceleration makes an unbelievable difference. I'm still using a look-up table instead of live calculations.

The STM32F2 has an entire megabyte of flash so it's not a problem at all to store a 128 byte table.

Headshots are soooo easy now
by frank26080115
Mon Nov 04, 2013 3:40 pm
Forum: Development
Topic: mouse acceleration curve
Replies: 7
Views: 11159

Re: mouse acceleration curve

Thanks So I should be doing all calculations in polar coordinates first, and then only translating to cartesian coordinates in the last step? (your code shows that the curves are applied in cartesian, but deadzone is calculated in polar, very confusing, is this how games actually work?) I'm usually ...
by frank26080115
Mon Nov 04, 2013 12:58 am
Forum: Development
Topic: mouse acceleration curve
Replies: 7
Views: 11159

Re: mouse acceleration curve

you know what, never mind, I came up with my own solution I took my device, set it to manually output specific X axis movement values, and took video recording of the game. For different X speeds, I calculate the in-game rotation speed using the video recording. Once I had all the data points, I did...