Flash Flash Revolution

Flash Flash Revolution (http://www.flashflashrevolution.com/vbz/index.php)
-   FFR General Talk (http://www.flashflashrevolution.com/vbz/forumdisplay.php?f=14)
-   -   Mapping Keys in FFR (WITH IMAGES) (http://www.flashflashrevolution.com/vbz/showthread.php?t=41727)

p4ntysh0t 10-13-2007 08:08 AM

Re: Mapping Keys in FFR (WITH IMAGES)
 
Are there any scripts like this written for linux? Im useing Ubuntu 6.10 Edgy Eft on a laptop so I guess you can imagine how trying to use the actual directional keys worked out. lol

the DtTvB 10-13-2007 11:01 AM

Mapping Keys in Linux
 
Quote:

Originally Posted by p4ntysh0t (Post 1830493)
Are there any scripts like this written for linux? Im useing Ubuntu 6.10 Edgy Eft on a laptop so I guess you can imagine how trying to use the actual directional keys worked out. lol

I am also a Linux user and it is also on laptop. I use Ubuntu 7.04 Feisty Fawn but it should be the same.
First you need to know what key you want to remap. I want to map these:

d -> Left
f -> Down
j -> Up
k -> Right

Fire up gnome-terminal and type in xmodmap -pke | less
You should see output like this:

Code:

keycode  40 = d D
keycode  41 = f F
keycode  42 = g G
keycode  43 = h H
keycode  44 = j J
keycode  45 = k K

You need these keycodes and keysyms. Now I know that:
d = 40 = d
f = 41 = f
j = 44 = j
k = 45 = k

Open up your favorite text editor and then type in this code:

Code:

# Remap keycode to Left Down Up Right
xmodmap -e "keycode 40 = Left"
xmodmap -e "keycode 41 = Down"
xmodmap -e "keycode 44 = Up"
xmodmap -e "keycode 45 = Right"

# Wait for press enter
echo "Press enter to remap map it back"
read TEMPNOTHINGHAHA

# Remap the keycode back to original keysym
xmodmap -e "keycode 40 = d D"
xmodmap -e "keycode 41 = f F"
xmodmap -e "keycode 44 = j J"
xmodmap -e "keycode 45 = k K"

Save it with this name: "~/remapffr"

Now whenever you want to remap the keys just open the terminal and say
sh ~/remapffr

Now the keys should be remapped. Whenever you want to map the keys back you just go back to terminal and press "enter".

Warning: May break keyboard layouts! Use it at your own risk!

p4ntysh0t 10-13-2007 06:08 PM

Re: Mapping Keys in Linux
 
Quote:

Originally Posted by the DtTvB (Post 1830653)
I am also a Linux user and it is also on laptop. I use Ubuntu 7.04 Feisty Fawn but it should be the same.
First you need to know what key you want to remap.!

Thank you much, I ended up breaking my keyboard settings as you warned but it was easily fixed after resetting it to the default qwerty config.

^_^

starfalcon176 11-17-2007 01:03 AM

Re: Mapping Keys in FFR (WITH IMAGES)
 
does anyone know how to make it work for an afterburner dance pad?

danny53x 11-20-2007 06:19 PM

Re: Mapping Keys in FFR (WITH IMAGES)
 
I'm forever in your debt T_T
I got to rank 1200 before I found out this.

i_am_not_good 12-13-2007 07:19 PM

Re: Mapping Keys in Linux
 
whats gnome-terminal????????????

massflavour 12-13-2007 07:54 PM

Re: Mapping Keys in FFR (WITH IMAGES)
 
you're dad

FFR_the_Game.php 12-21-2007 12:48 PM

Re: How to map different keys in FFR and Use a Dancepad
 
thanks. :mrgreen:

aLFaDaRK 12-21-2007 05:11 PM

Re: Mapping Keys in FFR (WITH IMAGES)
 
Any key mapping techniques for Mac OS X? I'm using a Macbook Pro, which has absolutely tiny arrow keys, which are now holding me back on some songs..

jimerax 01-9-2008 10:00 PM

Re: Mapping Keys in FFR (WITH IMAGES)
 
added a code for R2/Resonance.

DayMan951 01-9-2008 10:06 PM

Re: Mapping Keys in FFR (WITH IMAGES)
 
Quote:

Originally Posted by jimerax (Post 1972473)
added a code for R2/Resonance.

Perhaps you should edit out the giant red print that says otherwise.

jimerax 01-10-2008 12:28 PM

Re: Mapping Keys in FFR (WITH IMAGES)
 
I don't care much, but moved them right above "R1 only" codes.

wayne_white 02-7-2008 06:36 PM

Re: Mapping Keys in FFR (WITH IMAGES)
 
nice

FontSize72LOL 02-20-2008 11:05 AM

Re: Mapping Keys in FFR (WITH IMAGES)
 
So would this code work for mac? cause if not i need one for this macbook im using :(

Iggie Smallz 02-22-2008 04:41 PM

Re: Mapping Keys in FFR (WITH IMAGES)
 
great program

Zolo_0 04-28-2008 05:18 PM

Re: Mapping Keys in FFR (WITH IMAGES)
 
Is there a script to Disable all keys, except for the ones I mapped? Lol I accidentally log myself out and what not...

marioGP87 04-28-2008 06:10 PM

Re: Mapping Keys in FFR (WITH IMAGES)
 
stop bumping threads damnit! let the thread die out already!

Commandersa1 04-28-2008 06:40 PM

Re: Mapping Keys in FFR (WITH IMAGES)
 
Quote:

Originally Posted by marioGP87 (Post 2141274)
stop bumping threads damnit! let the thread die out already!

You are allowed to bump stickies. Just ask a mod or admin to delete this.

Izzy 04-28-2008 06:45 PM

Re: Mapping Keys in FFR (WITH IMAGES)
 
What the mods need to do is put away irrelevant or old stickys that don't apply anymore.

jimerax 04-28-2008 09:52 PM

Re: Mapping Keys in FFR (WITH IMAGES)
 
I'm sure some people still use some of these, but this isn't needed to be a sticky anymore.


All times are GMT -5. The time now is 07:32 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright FlashFlashRevolution