Julius
Well-Known Member
DaveC posted on Sep 6 2006 at 06:08 PM said:I will have pics of the new module soon with the better proffessionally made boards.
Sweet, can't wait.
btw is Radek still missing?
Last edited by a moderator:
DaveC posted on Sep 6 2006 at 06:08 PM said:I will have pics of the new module soon with the better proffessionally made boards.
Julius posted on Sep 6 2006 at 08:03 PM said:DaveC posted on Sep 6 2006 at 06:08 PM said:I will have pics of the new module soon with the better proffessionally made boards.
Sweet, can't wait.
btw is Radek still missing?
Julius posted on Sep 7 2006 at 01:33 AM said:The cool thing is that there are colors availabe that fit much better to the GP2X than the original 'white&red' pad.
There are many, many posts on the forum which make it quite clear that the 4 ordials on a D-pad make 8 way connections (ie diagonals). If you read the forum you will see these posts. There is no need for Radek's board, it is redundunt. Please read the forum posts, all will be clear...Nighty posted on Sep 21 2006 at 09:22 AM said:Wouldn't it be possible to hack the diagonals at the software level? Just patching the kernel module responsible for the joystick input I mean. This way there's no need for Radek's PCB. Not to be taken as a stab at Radek, but why put in more hardware when all that needs to be done is to patch some software?
Anyway, DaveC, any word on when you might be able to have your kits for sale? Can't seem to find any updates on this story. I guess even a kit without the actual ngage d-pad would be cool to have already; the pad we can probably find on our own if needs be...
Edit: just talked to a friend of mine who's into kernel hacking; gave him access to my unit through the usb network, and apparently he was intrigued enough to have a look at patching the kernel to do diagonals on 4-way pads, and perhaps teach me a thing or two about kernel hacking in the process. No promises, but this might be useful for those that replaced their sticks with regular d-pads, if we can get this to work... Fingers crossed.
bacteria posted on Sep 21 2006 at 11:36 AM said:There are many, many posts on the forum which make it quite clear that the 4 ordials on a D-pad make 8 way connections (ie diagonals). If you read the forum you will see these posts. There is no need for Radek's board, it is redundunt. Please read the forum posts, all will be clear...
So does a PC, except that on a PC you usually couldn't press more than 3 keys at the same time due to hardware restrictions.bacteria posted on Sep 21 2006 at 10:08 PM said:unlike a PC, the GP2x registers whatever is pressed at that point of time as true;
No, pressing up and left will give you up + left; most emulators interpret this as a diagonal, but it's not equivalent to the hardware diagonal.bacteria posted on Sep 21 2006 at 10:08 PM said:so pressing up and left WILL give a direction as a diagonal.
There you go: all games apart from one minor game. This means all games have to include a workaround for this. If it's hacked into the kernel, it wouldn't matter if they had a workaround; it would just work.bacteria posted on Sep 21 2006 at 10:08 PM said:All games (apart from one minor game) and all emulators on the GP2x recognise either method as a diagonal.
Again: because the software compensates for this. Software that doesn't compensate for this will not register any diagonals. it's not the pad that provides 8-way movement, it's the game that does this. Any game that doesn't include the workaround for dpads (which, might I remind you are not standard, hence not official, hence nobody is expected to support them) will simply not see any diagonals.bacteria posted on Sep 21 2006 at 10:08 PM said:This means that a 4 way D-pad provides in reality 8 way. This is not unique - the NeoGeo Pocket (which is thought to be 8 way) is only 4 way - look at pics of the inside of the NGPC. Gamepads on other controllers (D-pads) can also register 8 way with only 4 directions. I have been saying all this since around March, it is getting rather boring repeating all this months later still. Those who have made a D-pad on their GP2x (as I have done, and others in different forms) also know this to be true.
I agree that for most games/emus this is probably true, but that's where you and I differ in opinion.bacteria posted on Sep 21 2006 at 10:08 PM said:I am not wrong, I know exactly what the situations are - my postings and guides on the forum have enabled other users to experiment and successfully implement a D-pad into their GP2x by showing them what joystick connections to solder to. I have spent hundreds of hours on my GP2x using my own D-pads, using diagonals in virtually all games (over 99.9%) very successfully. By trying to make out that I am "wrong", you are only proving that you either don't "get it" or haven't "got it" - no offence, but you will not prove me wrong in this matter, in any practical way. I have conducted hundreds of hours of research into this, by using my own D-pads on the GP2x. :huh: It doesn't matter what registers for a diagonal in T-mode, all you should be interested in is the result - press an ordial and it goes that way, press a diagonal and you get a diagonal - it is not rocket science - why is this concept so hard for some to agree with?
No, I was refering to the first part of the post. Read back a little and you'll see it refers to diagonals being handled by the kernel when two ordinals are pressed simultaneously.bacteria posted on Sep 21 2006 at 10:08 PM said:The link you refer to was (I believe) referring to the centre-push button.
Totally agree with you there. This doesn't need another piece of hardware that eats more batteries, no matter how little it may be, and costs money to implement and some skill to add to your unit; this can be perfectly done in software, in the kernel module that's responsible for reading out the joystick. The only problem is it requires a rebuild of the complete kernel, since the gp2x has those input modules compiled into the kernel, and not as separate modules which are loaded at runtime and are easy to replace. This means I'll probably better buy one of those BOBs before I attempt at hacking this into the kernel, just in case I brick my toy.bacteria posted on Sep 21 2006 at 10:08 PM said:Radek's PCB is redundant (even if it did work properly) as it doesn't serve any purpose anymore, and unless you go for the idea of pressing all 4 directions at the same time = centre push, you don't need a PCB at all, nor any cost in buying one.
Thank you!! :lol:Shikaku posted on Sep 21 2006 at 10:21 PM said:Nighty is worse than DaveC: jesus christ, you can hack it into the OS if you care so much about it. A kernal patch just for a small input change should be extremely easy to do, and if it breaks you can ALWAYS just reinstall the original firmware (WE HAVE THE GODDAMN SOURCE FOR FUCK'S SAKE). IT DOES NOT MATTER AND IT NEVER WILL, so DROP IT.
bacteria posted on Sep 21 2006 at 10:46 PM said:I discovered the fact back in March that two ordials on the GP2x resulted in a diagonal, it took ages before other forum members accepted this as correct.
Nighty posted on Sep 21 2006 at 10:13 PM said:this can be perfectly done in software, in the kernel module that's responsible for reading out the joystick.
As I said: I've been reading up on the forums prior to registering. I have a general idea of who's who around here, and I've seen his mods. Sure, I'm not impressed with the aesthetics and would never "mutilate" my precious toy like that, but regardles of whether you agree with his aesthetical choices and his approach, you have to respect the man for putting his gp2x in danger every time he hacks on it, just so he can report his experience to the community.nik166 posted on Sep 22 2006 at 12:37 AM said:nighty: just looks at bacteria's tuning, you'll figure he won't care about losing a diagonal or two , it's useless to try to convince him, it won't change anything, it's still software fixable with or without him
Thanks, finally someone who gives some useful info instead of bitching "but I don't need it, so sod off". I'm no kernel hacker myself either but this issue bothers me enough to attempt to fix it, with the help of an expert friend who'll probably end up doing most of the work anyway. Heck, even if it turns out we weren't able to fix it, at least I'd have learned something in the process.stinch posted on Sep 22 2006 at 02:36 AM said:AFAIK there is no kernel module or code in the kernel that handles button input. The only way to get the status of the buttons is from GPIO. Proably something that really should be abstracted by the kernel but it isn't.
I'm no expert but the only way I can see it working is if the kernel watches for when programs mmap() GPIO and instead of mapping GPIO maps some other part of memory that it manipulates to look like GPIO just with the required changes. Sounds pretty complex and a bit of a hack.
Nighty posted on Sep 22 2006 at 02:13 AM said:As I said: I've been reading up on the forums prior to registering. I have a general idea of who's who around here, and I've seen his mods. Sure, I'm not impressed with the aesthetics and would never "mutilate" my precious toy like that, but regardles of whether you agree with his aesthetical choices and his approach, you have to respect the man for putting his gp2x in danger every time he hacks on it, just so he can report his experience to the community.