Cov txheej txheem:

Ps2 Tus Tswj rau Usb Hid Keyboard Emulator: 3 Kauj Ruam
Ps2 Tus Tswj rau Usb Hid Keyboard Emulator: 3 Kauj Ruam

Video: Ps2 Tus Tswj rau Usb Hid Keyboard Emulator: 3 Kauj Ruam

Video: Ps2 Tus Tswj rau Usb Hid Keyboard Emulator: 3 Kauj Ruam
Video: Причинять добро и наносить счастье ► 5 Прохождение God of War (HD Collection, PS3) 2024, Kaum ib hlis
Anonim
Ps2 Tus Tswj rau Usb Hid Keyboard Emulator
Ps2 Tus Tswj rau Usb Hid Keyboard Emulator
Ps2 Tus Tswj rau Usb Hid Keyboard Emulator
Ps2 Tus Tswj rau Usb Hid Keyboard Emulator

Nov yog qhov haujlwm me me los tsim qhov programmable pc usb adapter rau tus tswj hwm ps2. Nws yog cross platform. Kuv ua nws vim tias kuv muaj teeb meem txhim kho cov software ib txwm siv (antimicro, joy2key thiab lwm yam). Lub tsev qiv ntawv tsis suav nrog rau cov hluas 2.0. Kuv siv clone arduino micro, tab sis ib qho arduino txhawb usb zais yuav tsum ua haujlwm. Vim tias nws yog programmable koj tuaj yeem teeb tsa khawm ua ke kom ua raws qee cov yuam sij. Cov cai muaj cov yuam sij rau lub qhov ntxa raider 2 ntawm chav ntawm proton.

Kauj Ruam 1: Nqi Khoom

3 ko taw ntawm 26 awg cov tub ntxhais insulated hlau.

sab txiav

flux cored electronics solder thiab hlau

arduino micro ua

ps2 maub los rau usb adapter txhawm rau txhawm rau lub qhov (socket) los ntawm

micro usb cable kom haum rau arduino

hacksaw

kub kua nplaum thiab txhais tau tias yaj nws.

Kauj ruam 2: Disassembly thiab Reassembly

Disassembly thiab Reassembly
Disassembly thiab Reassembly

ua ntej, qhib lub usb adapter nrog tus ntsia hlau, tshem tawm sab hauv. tom qab ntawd siv lub hacksaw txiav lub pcb tom qab lub qhov ntsawb. tom qab ntawd siv lub tshuab txiav sab, tsoo lub pcb nruab nrab ntawm txhua tus pin. Tom qab ntawd desolder cov pcb Islands tuaj ntawm txhua tus pin.

Tam sim no, txiav 6 qhov ntev ntawm xaim 4 ntiv tes ntev. solder raws li daim duab saum toj no los ntawm tom qab ntawm lub qhov (socket) mus rau arduino. Kuv hloov tus pinout raws li qee tus pin tau ploj ntawm clone arduino,. Yog tias koj tsis paub tseeb xyuas daim duab saum toj no:

www.rhydolabz.com/wiki/?p=12663

Tus pinout tau hais qhia kom raug hauv cov cai

ps2x.config_gamepad (10, 16, 14, 15, cuav, cuav); /* teeb tsa tus pin thiab teeb tsa: GamePad (moos, hais kom ua, saib xyuas, cov ntaub ntawv, Nyuaj siab?, Rumble?) tshuaj xyuas qhov ua yuam kev*/

teev = 10

hais kom ua = 16

kev = 14

cov = 15

Kauj ruam 3: Rub tawm Firmware

tam sim no, theej lub tsev qiv ntawv rau hauv phau ntawv tais ceev tseg koj 1.8.8 version install lossis siab dua. Tus nqi teev tau hloov kho me ntsis dhau ntawm lub tsev qiv ntawv qub los ntawm kev hloov pauv

#define CTRL_CLK 15 hauv ps2x_lib.h thiab ob peb lwm txoj kab sib xws zoo ib yam lol. Qhov no yog vim kuv tau ntsib teeb meem tib yam li ntawm no

www.billporter.info/forum/topic/reading-buttons-but-not-the-right-buttons/

Yog tias koj ua rau muaj teeb meem tau txais lub tsev qiv ntawv tsis tau hloov pauv txuas rau hauv txoj cai.

tam sim no suav thiab xa mus rau arduino.

Yog tias nws ua haujlwm me ntsis (Kuv pom zoo qhov tseem ceeb-hauv qab linux rau kev sim) tom qab ntawd kub kua nplaum txhua yam kom ruaj ntseg kom tiv thaiv xaim tawg.

Pom zoo: