USB keyboard for PS4 with arduino Leonardo

Hello people!!!

I'm trying to make a USB Keyboard with arduino Leonardo to work on PS4. I tried to use almost all the characters in the ASCCI table with the Board.press () function; but it did not work. On the computer, the command works normally. I would like to know which commands I use to do the same functions as the PS4 controller. For example: I want to activate the square and triangle button by Arduino, which command should I use?

Thank you very much in advance!

Do you want to emulate a USB keyboard or the PS4 controller? As far as I know the PS4 controller is not a USB keyboard device.

pylon:
Do you want to emulate a USB keyboard or the PS4 controller? As far as I know the PS4 controller is not a USB keyboard device.

I know it's possible to use a keyboard and mouse to play on PS4.
I would like to know how do I make a USB keyboard with Arduino so I can play on PS4

Triangle and square are gamepad buttons not USB keyboard keys so this will not work. I do not know of any Arduino library to emulate a PS4 gamepad. Perhaps the GIMX project will help but the project has nothing to do with Arduino.

https://blog.gimx.fr/

customcontroller:
Triangle and square are gamepad buttons not USB keyboard keys so this will not work. I do not know of any Arduino library to emulate a PS4 gamepad. Perhaps the GIMX project will help but the project has nothing to do with Arduino.

https://blog.gimx.fr/

I’m looking to do a turbo control
Would it be possible to change the DS4 commands with leornardo arduino by USB or BT cable?

No, as far as I know, this is not possible using Arduino.