| Main > Main Forum |
| Rotary Button (Forgotten Worlds) |
| << < (3/3) |
| u_rebelscum:
--- Quote from: Silver on September 11, 2005, 08:04:38 pm ---The output of the rotarys was described as "2-bit Gray encoded" - which is exactly what you describe (as confirmed by u_rebelscum). --- End quote --- Can anyone in the know tell me the difference between "2-bit Gray encoded" and "quadrature" signals? I thought they were the same, but some manufactures make a difference between the two. AFAICT, they are the same except "2-bit Gray encoded" has steps ("detents", like the bumps in a scroll wheel) while "quadrature" doesn't have to be? Which is sort of wierd since higher bit Gray code (example: 13-bit gray code) doesn't have detents? It also looks like "quadrature" signals can be analog-ish, but usually they're square waves? But square wave quadrature, at least, looks to fall in the "Gray Code" definition (but Gray code can be more than 2 bits). |
| u_rebelscum:
--- Quote from: MameJunkie on September 09, 2005, 03:53:22 pm ---Good info. I didn't know they were the same. I have a Mini I-Pac, might try to hook it up to the trackball/spinner connectors. The only thing is, the I-Pac diagram shows 4 pins (+5 volt, Gnd, X1, X2) but the buttons I have only have 3 pins (Gnd, P1, P2). Any clue on how I should try hooking it up? --- End quote --- Pretent the +5 volt is magically connected, and connect the others as usual. The power is for the LED, and your mechanical rotary switch doesn't need the power. It might act like an active low (or active high) input, though. Try ipac's default, and if that doesn't work, try the other. --- Quote from: RayB on September 09, 2005, 05:50:25 pm --- --- Quote from: u_rebelscum on September 09, 2005, 02:21:30 pm ---This is fine for Forgotten Worlds, Ikari or Heavy Barrel in mame, or any other game that simulates the game's rotary with mame's "dial" type input. :) --- End quote --- Stop including Forgotten Worlds with Ikari and those types. FW uses a spinner, not a rotary style device. --- End quote --- Like Kremmit said, but that's what happens when I skip a word. :-[ Above sentence with missing word; notice the word "simulates" also, even before the missing word is added: * This is fine for Forgotten Worlds, Ikari or Heavy Barrel in mame, or any other game that mame simulates the game's rotary with mame's "dial" type input. And Mame's "dial" input is a spinner, first and foremost, not a rotary device, so your correction should have been "Stop including Ikari & the like with FW; Ikari used a rotary device not a spinner" ;) Sorry for the mistyping. FWIW, more details: FW used a spinner button, Ikari used a 12-direction rotary joystick Caliber .50 used an optical rotary joystick (with 24 teeth/24 gaps) - Mame simulates all of these original hardware the same: as a "dial". FW & Cal 50 physically detected rotation the same way as PC "dials" do. Front Line used a 8 direction rotary switch Mame simulates this original hardware as an 8-way joystick. Xybots (or somename like that :) ) used a return-to-center left/right "rotary" switch. Mame simulates this original hardware as two buttons. |
| Navigation |
| Message Index |
| Previous page |