Author Topic: PSP Keyboard?  (Read 4527 times)

Offline l0rdnic0

  • 2%
  • Acidmods Alumni
  • E = MC² Mad Scientist
  • *
  • Posts: 1836
  • Post quality +8/-0
  • Gender: Male
  • TeamCYBER

PSP Keyboard?
« on: August 16, 2008, 10:22:53 PM »
Hey guys take a look at one of the things I have been working on and tell me what you think.

Folklord turned me on to this idea when he was working on a project (project not named) and I took a look at it and decided to give it a try. So far I have everything working fine except for OSK input. I need to talk to the Developer about some modifications to the piKey software that will interface with the OSK.

My hope here is that one day I can port this to the PSP slim but there are two hurtles that I have to jump over. One very easy hurtle is that the slim SIO port does not output 2 volts, so that should be an easy fix. The harder one is that from the best of my knowledge piKey relies on the 1.5 kernel. I hope to talk to Angelo (noobz.eu) one of the authors that is maintaining piKey to this date to see what would be needed to get piKey to work on a slim.

I also want to thank Cyber, if it wasn’t for him I probably would have never gotten into PIC Programming. THANKS BUDDY!!!!


You can get more info on this over at PS2DEV
Give proper Credit to Jean for creating this project. Expect a full tut upon completion.

[youtube=425,350]y9Qs46tJi6A[/youtube]




L0rdNiC0 Pioneering Mods on the PSP Slim :taunt:
Sound Mod, Button LED Mod, Security Mod, Dual NUB, Mode Select Switch + More

Offline ra1n

  • Millennium Poster
  • *
  • Posts: 1031
  • Post quality +1/-0
  • Gender: Female
  • I'm not like other girls ^_^
Re: PSP Keyboard?
« Reply #1 on: August 16, 2008, 11:00:48 PM »
that is too cool can't wait to see it completely done

getting old is mandatory growing up is optional.

Offline hellazombies

  • ♪♪♪ Tone deff ♪♪♪
  • *
  • Posts: 69
  • Post quality +0/-0
Re: PSP Keyboard?
« Reply #2 on: August 16, 2008, 11:06:04 PM »
thats hella cool :hifive:

Offline ApheX

  • Club AM VIP
  • Millennium Poster
  • *
  • Posts: 1094
  • Post quality +1/-0
  • Gender: Male
  • PSP And PSP Slim Case/Hardware Modder
    • ApheX MoDs
Re: PSP Keyboard?
« Reply #3 on: August 17, 2008, 02:47:28 AM »
Sweet as hell! love this mod, hope you can get it fully running on the slim!

Offline FaT3oYCG

  • Registered BST
  • Granny Spanker
  • *
  • Posts: 444
  • Post quality +0/-0
  • Gender: Male
  • (Modder for hire) Live in your world, Mod in ours.
    • Modern-Gamer.co.uk
Re: PSP Keyboard?
« Reply #4 on: August 17, 2008, 05:00:24 AM »
unofficial pikey runs on 3.x and 4.x kernels, but the slim doesnt have an ir port, but you may be able to modify the pikey software and have a version pureley for the sio port for this purpose.
----- F@T3oYCG -----

Offline ryan0

  • I EAT STUFF
  • Millennium Poster
  • *
  • Posts: 1128
  • Post quality +0/-0
  • Gender: Male
  • I LIEK CHEEEEZE
Re: PSP Keyboard?
« Reply #5 on: August 17, 2008, 02:02:23 PM »
wow dude this is sweet,i tried to make a macro based keyboard but the code was too big and complicated,imagine assigning 24 NAND switches to a sequence of up to 18 buttons EACH and 24 more AND switches composing of the NAND switches to to carry out macro's of up to 18 presses,thats a hell of alot of code,the wiring would be next to impossibly complicated and thw wiring wouldnt ffit inside the keyboard,oh and also you have to do a doc-oc,so yeah,it was way too hard,but i wrote 10 pages of notes for it,did the problem solving,drawn up schematics etc so if anyone wants to try this then i'll shar my notes with them
Derp.

Offline l0rdnic0

  • 2%
  • Acidmods Alumni
  • E = MC² Mad Scientist
  • *
  • Posts: 1836
  • Post quality +8/-0
  • Gender: Male
  • TeamCYBER

Re: PSP Keyboard?
« Reply #6 on: August 17, 2008, 08:04:43 PM »
unofficial pikey runs on 3.x and 4.x kernels, but the slim doesnt have an ir port, but you may be able to modify the pikey software and have a version pureley for the sio port for this purpose.

I am not a PSP coder so if you know anyone that is willing to take that on, I have 5 PSP slims and one chatpad ready to go....


L0rdNiC0 Pioneering Mods on the PSP Slim :taunt:
Sound Mod, Button LED Mod, Security Mod, Dual NUB, Mode Select Switch + More

Offline Sanctus

  • Acid Modder
  • *
  • Posts: 606
  • Post quality +1/-0
  • Gender: Male
Re: PSP Keyboard?
« Reply #7 on: August 17, 2008, 10:54:15 PM »
Awesome stuff. Would love a keyboard on the slim that would be insane!

Offline gr8npwrfl

  • Acid Modder
  • *
  • Posts: 582
  • Post quality +0/-0
  • Gender: Male
  • Ignorance is not fatal it can be cured
Re: PSP Keyboard?
« Reply #8 on: August 17, 2008, 11:16:09 PM »
If you want to make your own keyboard the PIC
code is available for download from Microchips site.

Cross matrix row and column is simple and the output
would be ascii data.



Offline nez

  • Granny Spanker
  • *
  • Posts: 516
  • Post quality +0/-0
  • Gender: Male
  • Pirate For Life
    • 13xic0n administrator\owner
Re: PSP Keyboard?
« Reply #9 on: August 17, 2008, 11:20:30 PM »
well go to here and post vox knows about psp programing he may know how or know some one who can do it i know that for a fact.
http://lexicongfx.net/tech/index.php?board=20.0


Offline FaT3oYCG

  • Registered BST
  • Granny Spanker
  • *
  • Posts: 444
  • Post quality +0/-0
  • Gender: Male
  • (Modder for hire) Live in your world, Mod in ours.
    • Modern-Gamer.co.uk
Re: PSP Keyboard?
« Reply #10 on: August 18, 2008, 05:13:13 AM »
I am not a PSP coder so if you know anyone that is willing to take that on, I have 5 PSP slims and one chatpad ready to go....

i could probably do it myself with a lot of effort, it would involve me making a coupple of apps to test it all out at first but in the end im sure we could write a prx to accept the chatpads output and function on the psp.

i have done it with other things not on the psp, first of all you make an app that just reads the input from the source so you can see the data that is returned, secondly you make an app that displays some information if the device receives one of the outputs from the input device to test if it is analysing it correctly, and then finally you can write something to handle the input to create the desired output.

as i do with other things i would probably implement a way of changing the mode that the device used so that you could change it depending on what you were doing, e.g. emulating psp buttons, sending information to the sony osk etc.

but you may be better telling someone more experienced with psp coding and asking them to do it for you. you can find lots of help over in the QJ.net psp development forum.

EDIT: I just watched the video at the top and following what i just said the first two things have been done, you can now simply code a prx to interpret the button presses and you will be done.

i would like to take a look at the code behind the app that is show on the video, do you know where i can get a copy?
« Last Edit: August 18, 2008, 05:18:11 AM by FaT3oYCG »
----- F@T3oYCG -----

Offline gr8npwrfl

  • Acid Modder
  • *
  • Posts: 582
  • Post quality +0/-0
  • Gender: Male
  • Ignorance is not fatal it can be cured
Re: PSP Keyboard?
« Reply #11 on: August 18, 2008, 04:05:27 PM »
I just went out and purchased the chatpad and 360 wireless controller

I am coding a quick app for the PC that will display the codes that come
from the controller with the chatpad attached.

The PIC18f4550 that I am using in my interface has a usb host controller
on it. I will be able to plug the entire controller into my interface and send
it all in the serial port.

I am compiling Pikey to correct the shut down problem. I am faking pikey
into thinking it got the handshake it wanted so it will stay running and
not shut the serial port down.

I will open the chatpad and look at the circuit in it. See if I can dump the code
so I can save it before reflashing it to connect it directly.



Offline l0rdnic0

  • 2%
  • Acidmods Alumni
  • E = MC² Mad Scientist
  • *
  • Posts: 1836
  • Post quality +8/-0
  • Gender: Male
  • TeamCYBER

Re: PSP Keyboard?
« Reply #12 on: August 19, 2008, 09:19:33 AM »

I will open the chatpad and look at the circuit in it. See if I can dump the code
so I can save it before re-flashing it to connect it directly.


That would save me 25$ cause I already flashed mine HAHAHAHA..

I'll let you know if Jean fixes his version.


L0rdNiC0 Pioneering Mods on the PSP Slim :taunt:
Sound Mod, Button LED Mod, Security Mod, Dual NUB, Mode Select Switch + More

Offline gr8npwrfl

  • Acid Modder
  • *
  • Posts: 582
  • Post quality +0/-0
  • Gender: Male
  • Ignorance is not fatal it can be cured
Re: PSP Keyboard?
« Reply #13 on: August 19, 2008, 05:39:07 PM »
Ok,

I am building a connection for the jtag from my PIC development system, I should have the code
dumped yet tonight.

Sparkfun sells a PIC18F4550 mounted on a prototype board already running with a usb host port
on it for $37.00. I have two of them comming in by friday.

I now have three joysticks to do drivers for. I have the Xbox 360 wireless with chatpad and the usb
wireless interface, I have a PS2 Joystick wireless with usb interface, and I have a Logitech Wingman
wireless joystick for the PC with wireless usb dongle.

They all seem to run almost the same protocal. I have already had them all hooked up to my
Halcion packet data monitor and I am dumping code from them all. It all looks very very close.

Because there is a USB to PS2/PS3 adapter I am not going to put the PS2 connector on my
interface.

I am going to use Microchips HID drivers to interface to all the joysticks, keyboard, and mice.

Basically the PIC18F4550 will convert low speed usb devices to serial and send that data
into the PSP through the serial/headphone port.

Nico, I am building another max232 interface to run the chatpad directly into my Halcion
and will find out if it dumps packets or scan codes. Then see if the 360 gamepad changes
the protocol or just passes it. If I can find somewhere to find the headphone jacks for the
PSP phat I will put one on my interface so the chatpad can be run by itself.

I am putting that charge pump chip I gave you the info on, in my interface so I can generate
+12 volts for an audio amp on my board. Since we are plugging into the headphones we
may as well have an audio amp also.

I have finished compiling pikey and I am going to plug my PC into the serial port and
test pikey with the PC sending data through hyperterminal. That way I can divide the bug
as to whether it is pikey or the chatpad change.

The PIC18F4550 has a ton of flash so we can store all sorts of mappings for the chatpad
and any of the gamepads in the PIC.

I already have some code that would allow the editing of the mapping to be done
on the PSP.

Oh, I am also doing a mod on a inexpensive usb to serial adapter to plug into the PSP
and all these projects that is cmos level not rs232. I will post a tut on that also
as most of the people with newer PCs don't have a serial port on their computer.

.


Offline l0rdnic0

  • 2%
  • Acidmods Alumni
  • E = MC² Mad Scientist
  • *
  • Posts: 1836
  • Post quality +8/-0
  • Gender: Male
  • TeamCYBER

Re: PSP Keyboard?
« Reply #14 on: August 19, 2008, 06:11:50 PM »
you are my hero!!!!! :clap: This is all to good to be true.

Thank you again in advance!


L0rdNiC0 Pioneering Mods on the PSP Slim :taunt:
Sound Mod, Button LED Mod, Security Mod, Dual NUB, Mode Select Switch + More

Offline gr8npwrfl

  • Acid Modder
  • *
  • Posts: 582
  • Post quality +0/-0
  • Gender: Male
  • Ignorance is not fatal it can be cured
Re: PSP Keyboard?
« Reply #15 on: August 19, 2008, 07:11:06 PM »
I always seem to take on the mods people want the most.

So that people know this in no way replaces the USB HOST/MASS Storage project.

This USB interface is only for low speed devices.

The Mass Storage is for disk drives, cd roms, and things of the like.

Like I said I should have an answer by tomorrow if the problem you are seeing is in pikey or the
custom firmware in the chatpad.

Either one I am sure we can fix it.

By the way.

There will be extra pins left on the 18F4550 that are A/D converters, so if someone wants to play with
the touchscreen they will not have to build hardware for that in particular.

I will be releasing the new pikey that does not shut down the serial port in the next few days
« Last Edit: August 24, 2008, 05:08:22 PM by gr8npwrfl »


 

SMF spam blocked by CleanTalk
SimplePortal 2.3.5 © 2008-2012, SimplePortal