Go Back   Flash Flash Revolution > Flash Flash Revolution > FFR General Talk
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
Old 10-13-2007, 11:01 AM   #201
the DtTvB
FFR Player
 
the DtTvB's Avatar
 
Join Date: Dec 2006
Posts: 14
Default Mapping Keys in Linux

Quote:
Originally Posted by p4ntysh0t View Post
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!

Last edited by the DtTvB; 10-13-2007 at 11:08 AM..
the DtTvB is offline   Reply With Quote
Old 10-13-2007, 06:08 PM   #202
p4ntysh0t
FFR Player
 
p4ntysh0t's Avatar
 
Join Date: Jan 2007
Location: Fredricksburg, Virginia
Age: 34
Posts: 47
Send a message via AIM to p4ntysh0t
Default Re: Mapping Keys in Linux

Quote:
Originally Posted by the DtTvB View Post
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.

^_^
__________________
p4ntysh0t is offline   Reply With Quote
Old 11-17-2007, 01:03 AM   #203
starfalcon176
Pump It Up Master
FFR Simfile AuthorFFR Veteran
 
starfalcon176's Avatar
 
Join Date: Jan 2005
Location: Portland, OR
Age: 34
Posts: 83
Send a message via AIM to starfalcon176 Send a message via MSN to starfalcon176 Send a message via Yahoo to starfalcon176
Default Re: Mapping Keys in FFR (WITH IMAGES)

does anyone know how to make it work for an afterburner dance pad?
__________________
starfalcon176 is offline   Reply With Quote
Old 11-20-2007, 06:19 PM   #204
danny53x
AKA Yotipo
FFR Veteran
 
danny53x's Avatar
 
Join Date: Jan 2007
Location: Henrico, Virginia
Age: 32
Posts: 1,008
Send a message via Skype™ to danny53x
Default 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.
__________________
danny53x is offline   Reply With Quote
Old 12-13-2007, 07:19 PM   #205
i_am_not_good
FFR Player
 
i_am_not_good's Avatar
 
Join Date: Dec 2007
Posts: 2
Default Re: Mapping Keys in Linux

whats gnome-terminal????????????
i_am_not_good is offline   Reply With Quote
Old 12-13-2007, 07:54 PM   #206
massflavour
FFR Player
 
massflavour's Avatar
 
Join Date: Feb 2007
Location: under the coke sign
Posts: 3,104
Send a message via AIM to massflavour Send a message via MSN to massflavour
Default Re: Mapping Keys in FFR (WITH IMAGES)

you're dad
__________________
.
massflavour is offline   Reply With Quote
Old 12-21-2007, 12:48 PM   #207
FFR_the_Game.php
Banned
 
Join Date: Dec 2007
Posts: 17
Default Re: How to map different keys in FFR and Use a Dancepad

thanks.
FFR_the_Game.php is offline   Reply With Quote
Old 12-21-2007, 05:11 PM   #208
aLFaDaRK
FFR Player
 
Join Date: Jul 2007
Posts: 98
Default 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..
aLFaDaRK is offline   Reply With Quote
Old 01-9-2008, 10:00 PM   #209
jimerax
Retired StaffFFR Simfile AuthorFFR Music ProducerFFR Veteran
 
jimerax's Avatar
 
Join Date: Nov 2003
Location: Tokyo
Posts: 8,185
Send a message via AIM to jimerax Send a message via MSN to jimerax Send a message via Skype™ to jimerax
Default Re: Mapping Keys in FFR (WITH IMAGES)

added a code for R2/Resonance.
jimerax is offline   Reply With Quote
Old 01-9-2008, 10:06 PM   #210
DayMan951
yfwdbwdsb
FFR Veteran
 
DayMan951's Avatar
 
Join Date: Dec 2007
Location: Southern California
Posts: 2,255
Default Re: Mapping Keys in FFR (WITH IMAGES)

Quote:
Originally Posted by jimerax View Post
added a code for R2/Resonance.
Perhaps you should edit out the giant red print that says otherwise.
__________________
DayMan951 is offline   Reply With Quote
Old 01-10-2008, 12:28 PM   #211
jimerax
Retired StaffFFR Simfile AuthorFFR Music ProducerFFR Veteran
 
jimerax's Avatar
 
Join Date: Nov 2003
Location: Tokyo
Posts: 8,185
Send a message via AIM to jimerax Send a message via MSN to jimerax Send a message via Skype™ to jimerax
Default Re: Mapping Keys in FFR (WITH IMAGES)

I don't care much, but moved them right above "R1 only" codes.
jimerax is offline   Reply With Quote
Old 02-7-2008, 06:36 PM   #212
wayne_white
FFR Player
FFR Veteran
 
wayne_white's Avatar
 
Join Date: Aug 2007
Location: cambridge, Ontario
Posts: 40
Send a message via MSN to wayne_white
Default Re: Mapping Keys in FFR (WITH IMAGES)

nice
__________________
\/\/@Y|\|3
wayne_white is offline   Reply With Quote
Old 02-20-2008, 11:05 AM   #213
FontSize72LOL
☆~{2D <3}~☆
FFR Veteran
 
FontSize72LOL's Avatar
 
Join Date: Nov 2007
Location: World
Age: 33
Posts: 833
Default 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
__________________



Get Kancho'd


FontSize72LOL is offline   Reply With Quote
Old 02-22-2008, 04:41 PM   #214
Iggie Smallz
FFR Player
 
Iggie Smallz's Avatar
 
Join Date: Dec 2007
Posts: 16
Default Re: Mapping Keys in FFR (WITH IMAGES)

great program
Iggie Smallz is offline   Reply With Quote
Old 04-28-2008, 05:18 PM   #215
Zolo_0
FFR Player
FFR Veteran
 
Zolo_0's Avatar
 
Join Date: Dec 2006
Location: Maryland
Posts: 35
Send a message via AIM to Zolo_0 Send a message via MSN to Zolo_0 Send a message via Yahoo to Zolo_0
Default 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...
__________________
Zolo_0 is offline   Reply With Quote
Old 04-28-2008, 06:10 PM   #216
marioGP87
Shiny Zoroa :')
FFR Veteran
 
marioGP87's Avatar
 
Join Date: Mar 2006
Location: o
Age: 31
Posts: 603
Send a message via MSN to marioGP87 Send a message via Yahoo to marioGP87
Default Re: Mapping Keys in FFR (WITH IMAGES)

stop bumping threads damnit! let the thread die out already!
__________________
Quote:
Originally Posted by Kit
"Hey.. what are you doing!? get away man! I Only said it once noo, NOOOO your a bunch of Nazi's man ! get that sedative away from me! I don't like needles! I...rea..lyy.... *Faint*


Best AAA: Famouz (HEAVY UNLOCK!)
marioGP87 is offline   Reply With Quote
Old 04-28-2008, 06:40 PM   #217
Commandersa1
FFR Player
FFR Veteran
 
Commandersa1's Avatar
 
Join Date: Mar 2006
Age: 33
Posts: 2,344
Default Re: Mapping Keys in FFR (WITH IMAGES)

Quote:
Originally Posted by marioGP87 View Post
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.
__________________
Commandersa1 is offline   Reply With Quote
Old 04-28-2008, 06:45 PM   #218
Izzy
Snek
FFR Simfile AuthorFFR Veteran
 
Izzy's Avatar
 
Join Date: Jan 2003
Location: Kansas
Age: 34
Posts: 9,192
Default 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.
Izzy is offline   Reply With Quote
Old 04-28-2008, 09:52 PM   #219
jimerax
Retired StaffFFR Simfile AuthorFFR Music ProducerFFR Veteran
 
jimerax's Avatar
 
Join Date: Nov 2003
Location: Tokyo
Posts: 8,185
Send a message via AIM to jimerax Send a message via MSN to jimerax Send a message via Skype™ to jimerax
Default 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.
jimerax is offline   Reply With Quote
Old 01-14-2020, 06:04 PM   #220
MintyTofuu
FFR Player
 
MintyTofuu's Avatar
 
Join Date: Jan 2020
Posts: 3
Default Re: Mapping Keys in FFR (WITH IMAGES)

where do i find built in keymapping
MintyTofuu is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



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


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