Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
15 crawler(s) on-line.
 83 guest(s) on-line.
 0 member(s) on-line.



You are an anonymous user.
Register Now!
 RobertB:  1 hr 9 mins ago
 ruben:  2 hrs 1 min ago
 kolla:  2 hrs 42 mins ago
 yoodoo2:  3 hrs 9 mins ago
 OneTimer1:  3 hrs 12 mins ago
 eliyahu:  3 hrs 15 mins ago
 vox:  3 hrs 33 mins ago
 Kromjuice:  3 hrs 48 mins ago
 Rob:  4 hrs 5 mins ago
 NutsAboutAmiga:  4 hrs 18 mins ago

/  Forum Index
   /  Amiga OS4.x \ Workbench 4.x
      /  Remap func "FN" key with RA key (solved)
Register To Post

PosterThread
SOFISTISOFTWARE 
Remap func "FN" key with RA key (solved)
Posted on 26-Apr-2011 22:07:05
#1 ]
Regular Member
Joined: 25-Dec-2003
Posts: 458
From: Latina, Italy

Hi guys,

i need to remap func "FN" key on my new logitech keyboard K520 (it has only one win key) with Right Amiga key, i think to set "kbddev_mapping" in uboot, can anybody help me, please. If isn't possible to remap FN key what's the best key to remap like RA key ? I tried setenv kbddev_mapping 0x57=0x66 0x58=0x67 to remap LA and RA to F11 and F12 but no lucky, that variable doesn't seem to work in uboot for Sam460

Last edited by SOFISTISOFTWARE on 29-Apr-2011 at 08:56 PM.
Last edited by SOFISTISOFTWARE on 27-Apr-2011 at 02:08 PM.

_________________
Sam 460EX, 2Gb Ram, Radeon R7 250, AmigaOS4.1 FE
A4000 PPC604@233, Mediator
A1200 PPC603@160, Mediator
uA1 G3@800, 512 Mb [sold]

 Status: Offline
Profile     Report this post  
sundown 
Re: How can i remap func "FN" key with RA key ??
Posted on 27-Apr-2011 3:05:57
#2 ]
Elite Member
Joined: 30-Aug-2003
Posts: 5120
From: Right here...

@SOFISTISOFTWARE

In UBoot prefs for the A1, there is a switch, "set r.win key to the menu key". This set kbdev_norwin in uboot, guessing you set it to "yes", never had to use it yet. No idea if its the same on the SAM or what you're looking for.

_________________
Hate tends to make you look stupid...

 Status: Offline
Profile     Report this post  
SOFISTISOFTWARE 
Re: How can i remap func "FN" key with RA key ??
Posted on 27-Apr-2011 9:04:52
#3 ]
Regular Member
Joined: 25-Dec-2003
Posts: 458
From: Latina, Italy

@sundown

no, my keyboard doesn't have "menu" key, on the right side it has only "FN", alt, ctrl keys

_________________
Sam 460EX, 2Gb Ram, Radeon R7 250, AmigaOS4.1 FE
A4000 PPC604@233, Mediator
A1200 PPC603@160, Mediator
uA1 G3@800, 512 Mb [sold]

 Status: Offline
Profile     Report this post  
AlexC 
Re: How can i remap func "FN" key with RA key ??
Posted on 27-Apr-2011 10:44:04
#4 ]
Super Member
Joined: 22-Jan-2004
Posts: 1300
From: City of Lost Angels, California.

@SOFISTISOFTWARE

AFAIK in general the Fn key only works for toggling internal features of the keyboard and doesn't send any code out.

Your best bet to find out if your Fn key is of any use is to try adding a new shortcut with the AllKeys commodity and see if any code appears in the window when you press it by itself or if it changes the qualifier code when you press another key while Fn is held down.

Here I have a cheap illuminated keyboard like this one and its Fn key doesn't send any code nor qualifier. The only use I found for it which wasn't even documented is that Fn+F11 locks the keyboard completely until Fn+F11 is pressed again, which could be handy with pets and kids.

_________________
AlexC's free OS4 software collection

AmigaOne XE/X1000/X5000/UAE-PPC OS4 laptop/X-10 Home Automation

 Status: Offline
Profile     Report this post  
SOFISTISOFTWARE 
Re: How can i remap func "FN" key with RA key ??
Posted on 27-Apr-2011 12:34:38
#5 ]
Regular Member
Joined: 25-Dec-2003
Posts: 458
From: Latina, Italy

@AlexC

i tried with the help of AllKeys, when i press FN itself i don't see anything but example when i press F9 while FN is held down i can see in allkeys window: $80400066 LAmiga + e and with F10 it shows me: $80400028 LAmiga + l, at the end i must have a Right Amiga Key ! How can i resolve the problem ?? Thanks in advance

_________________
Sam 460EX, 2Gb Ram, Radeon R7 250, AmigaOS4.1 FE
A4000 PPC604@233, Mediator
A1200 PPC603@160, Mediator
uA1 G3@800, 512 Mb [sold]

 Status: Offline
Profile     Report this post  
VooDoo 
Re: How can i remap func "FN" key with RA key ??
Posted on 27-Apr-2011 12:52:40
#6 ]
Super Member
Joined: 16-Jun-2003
Posts: 1503
From: Croatia

@SOFISTISOFTWARE

Look here http://amigaworld.net/modules/newbb/viewtopic.php?topic_id=32154&forum=33#573912



_________________
--

Amiga x5000 ı o2o ı 4GB RAM ı RadeonRX580 | SBlaster Audigy Fx - AmigaOS4.1 FInal Edition

A1200 sandwich :)

Croatian Amiga portal

 Status: Offline
Profile     Report this post  
SOFISTISOFTWARE 
Re: How can i remap func "FN" key with RA key ??
Posted on 27-Apr-2011 13:35:21
#7 ]
Regular Member
Joined: 25-Dec-2003
Posts: 458
From: Latina, Italy

@VooDoo

thanks fo reply, but i wouldn't use the program 'nomenukey' i'd like to remap the RA key in uboot with setenv kbddev_mapping or with hid.keyboard rgui var

_________________
Sam 460EX, 2Gb Ram, Radeon R7 250, AmigaOS4.1 FE
A4000 PPC604@233, Mediator
A1200 PPC603@160, Mediator
uA1 G3@800, 512 Mb [sold]

 Status: Offline
Profile     Report this post  
SOFISTISOFTWARE 
Re: How can i remap func "FN" key with RA key ??
Posted on 28-Apr-2011 12:24:16
#8 ]
Regular Member
Joined: 25-Dec-2003
Posts: 458
From: Latina, Italy

@SOFISTISOFTWARE

bump!

_________________
Sam 460EX, 2Gb Ram, Radeon R7 250, AmigaOS4.1 FE
A4000 PPC604@233, Mediator
A1200 PPC603@160, Mediator
uA1 G3@800, 512 Mb [sold]

 Status: Offline
Profile     Report this post  
thomas 
Re: How can i remap func "FN" key with RA key ??
Posted on 29-Apr-2011 6:17:27
#9 ]
Super Member
Joined: 28-May-2003
Posts: 1148
From: Germany

@SOFISTISOFTWARE

Quote:
i tried with the help of AllKeys, when i press FN itself i don't see anything


As you were told already, you can *not* remap a key which is not seen by the computer. Your FN key is handled internally by the keyboard, it is not sent to the computer.


Quote:
How can i resolve the problem ?? Thanks in advance


Buy a keyboard which has a working key on the right side of the space bar. Look at the key layout *before* you buy a keyboard.

_________________
Email: thomas-rapp@web.de
Home: thomas-rapp.homepage.t-online.de

 Status: Offline
Profile     Report this post  
SOFISTISOFTWARE 
Re: How can i remap func "FN" key with RA key ??
Posted on 29-Apr-2011 9:35:38
#10 ]
Regular Member
Joined: 25-Dec-2003
Posts: 458
From: Latina, Italy

@thomas

i've just bought a new cordless keyboard and mouse and i would remap some key like RA key, can you help me?

_________________
Sam 460EX, 2Gb Ram, Radeon R7 250, AmigaOS4.1 FE
A4000 PPC604@233, Mediator
A1200 PPC603@160, Mediator
uA1 G3@800, 512 Mb [sold]

 Status: Offline
Profile     Report this post  
AlexC 
Re: How can i remap func "FN" key with RA key ??
Posted on 29-Apr-2011 11:53:13
#11 ]
Super Member
Joined: 22-Jan-2004
Posts: 1300
From: City of Lost Angels, California.

@SOFISTISOFTWARE

It sounds like your uboot setting is doing something because if as you say when you press Fn+F9 you get $80400066 that's actually the code for the LAmiga key when it is pressed down. (RAmiga is $8080067)

What you should do is compare the code you see when you press F9 alone versus Fn+F9. If you see the same code then clearly your Fn key is of no use for remapping.

AFAIK you can't use F9 as it sends repeat codes when held down and doesn't act as a "qualifier" key (which add the significant bit of their code to any other key pressed) so the only keys that would work are Ctrl, Shift, Alt, CapsLock, Menu, and the Windows keys as these are all qualifier keys.

Consequently your best bet would be to remap the RAlt or RShift key to the RAmiga key as I don't think you can remap RCtrl (at least here it gives the same code as the left Ctrl key).

You're not the only one with that problem it seems, looking at this blog entry...

Thomas is right too, if you're going to buy a Windows-centric keyboard for your Amiga, make sure it has all the keys the Amiga needs

_________________
AlexC's free OS4 software collection

AmigaOne XE/X1000/X5000/UAE-PPC OS4 laptop/X-10 Home Automation

 Status: Offline
Profile     Report this post  
SOFISTISOFTWARE 
Re: How can i remap func "FN" key with RA key ??
Posted on 29-Apr-2011 17:48:11
#12 ]
Regular Member
Joined: 25-Dec-2003
Posts: 458
From: Latina, Italy

@AlexC

i have the keyboard and mouse of the blog ! Ok, i don't want to use the FN key, now i would use (example) F11 or F12 or better right Alt, how can i remap those keys to Right Amiga key ??? Neither kbddev_mapping seems work with my sam460 nor the variable in env/usb/hid.keyboard... however you are right the CTRL keys have the same code. If i press only F9 i see in allkey $80000058, while if i press FN+F9 the result is $80400066(LAmiga)+$80400012(LAmiga+e)

Last edited by SOFISTISOFTWARE on 29-Apr-2011 at 07:26 PM.

_________________
Sam 460EX, 2Gb Ram, Radeon R7 250, AmigaOS4.1 FE
A4000 PPC604@233, Mediator
A1200 PPC603@160, Mediator
uA1 G3@800, 512 Mb [sold]

 Status: Offline
Profile     Report this post  
SOFISTISOFTWARE 
Re: How can i remap func "FN" key with RA key ??
Posted on 29-Apr-2011 21:06:06
#13 ]
Regular Member
Joined: 25-Dec-2003
Posts: 458
From: Latina, Italy

@Everybody

i solved the problem, on my logitech K520 is simple to have a RAmiga key, i must press func "FN" key+Print(Menu) key, yes i know i have to press two keys but now i have it, however i found another solution setting "rgui" variable in env-archive/usb/hid.keyboard/ and it works very well, these are the code i tried:

'0x00070044' to remap F11 to RAmiga
'0x00070045' for F12
'0x000700E6' for R-ALT
'0x000700E4' for R-CTRL (yes it works also if we see with AllKeys prg the same code for LCTRL and RCTRL)

thanks guys

Last edited by SOFISTISOFTWARE on 30-Apr-2011 at 07:06 AM.

_________________
Sam 460EX, 2Gb Ram, Radeon R7 250, AmigaOS4.1 FE
A4000 PPC604@233, Mediator
A1200 PPC603@160, Mediator
uA1 G3@800, 512 Mb [sold]

 Status: Offline
Profile     Report this post  
kilaueabart 
Re: How can i remap func "FN" key with RA key ??
Posted on 28-Sep-2012 2:50:56
#14 ]
Cult Member
Joined: 14-Jun-2004
Posts: 646
From: Honolulu

@SOFISTISOFTWARE
Reopening an old thread that I didn't see until I saw an advertisement for a Logitech K800, backlit wireless, for $20 off and couldn't resist.

The advice to make sure a keyboard has a right-side program key is all well and good, but who would guess some don't? The only thing I worried about was having the same kind of keys between the regular keyboard and the numeric keypad. In desperation after my discovery of that missing key, I googled "keyboard remap Amiga OS4" and that brought me to this life-saving thread and reference to AllKeys. With AllKeys I was able to command RShift^F11 to "C:reboot fast," solving one major problem, but I could have done that with a CLI anyway. What I was concerned about was copying and pasting, probably the things I use RAmiga for the most.

Unfortunately I didn't quite understand what you meant by Print(Menu) so I ended up duplicating your efforts. AllKeys interprets FN^Prt Scr/Sys Req as "Right Amiga" on my keyboard also. So, mainly thanks to you and the guy who wrote AllKeys, I don't have to send my keyboard back.

But there is something in your alternate solution I don't understand. You say to set "rgui" variable in env-archive/usb/hid.keyboard/ to '0x00070044' to remap F11 to RAmiga. I thought that meant I could turn F11 into a substitute for RAmiga, but when I tried it, it didn't work. What do you really mean?

 Status: Offline
Profile     Report this post  
SOFISTISOFTWARE 
Re: How can i remap func "FN" key with RA key ??
Posted on 28-Sep-2012 8:40:34
#15 ]
Regular Member
Joined: 25-Dec-2003
Posts: 458
From: Latina, Italy

@kilaueabart

Print(Menu) is the key "Print Screen" it has an icon printed on it and it's a menu, so if u want "Right Amiga" key you have to push "FN" and "Print Screen", but as i wrote there are other possibilities, you can assign some other key to "Right Amiga", you have to create a variable called "rgui" in the path env-archive/usb/hid.keyboard, you can create it with notepad or with another text editor, inside the variable you have to write a code that i wrote, example 0x00070044 if you want to remap RightAmiga on F11 and you have to save it. I hope it's clear now

Last edited by SOFISTISOFTWARE on 28-Sep-2012 at 08:43 AM.

_________________
Sam 460EX, 2Gb Ram, Radeon R7 250, AmigaOS4.1 FE
A4000 PPC604@233, Mediator
A1200 PPC603@160, Mediator
uA1 G3@800, 512 Mb [sold]

 Status: Offline
Profile     Report this post  
kilaueabart 
Re: How can i remap func "FN" key with RA key ??
Posted on 29-Sep-2012 21:40:28
#16 ]
Cult Member
Joined: 14-Jun-2004
Posts: 646
From: Honolulu

@SOFISTISOFTWARE
Thanks for the very quick response. I tried to reply to it yesterday, but apparently AmigaWorld.net suddenly developed a problem.

It turns out I had understood you correctly the first time, but must have done something wrong so that F11 didn't work as RAmiga. I tried it again yesterday and it works fine. May I ask how you figured out the correct code would be '0x00070044'?

A new puzzle: AllKeys told me as it did you that FN^Print Screen was '80800067 RAmiga,' and I was using it. But since yesterday, FN^Print Screen is consistently '8000006B Menu'! Any idea what happened? I thought maybe it was because RAmiga was already taken by F11, but I removed hid.keyboard/ from usb/ and still got Menu.

 Status: Offline
Profile     Report this post  
SOFISTISOFTWARE 
Re: How can i remap func "FN" key with RA key ??
Posted on 1-Oct-2012 12:31:54
#17 ]
Regular Member
Joined: 25-Dec-2003
Posts: 458
From: Latina, Italy

@kilaueabart

You have to look at the HID Usage Table for the codes:

http://www.usb.org/developers/devclass_docs/HID1_11.pdf
http://www.usb.org/developers/devclass_docs/Hut1_12v2.pdf

there you'll be able to find the correct codes. AllKeys uses different keys, about the problem with it i can't help you because i don't use it, i'm sorry.

regards

Last edited by SOFISTISOFTWARE on 01-Oct-2012 at 12:34 PM.
Last edited by SOFISTISOFTWARE on 01-Oct-2012 at 12:33 PM.

_________________
Sam 460EX, 2Gb Ram, Radeon R7 250, AmigaOS4.1 FE
A4000 PPC604@233, Mediator
A1200 PPC603@160, Mediator
uA1 G3@800, 512 Mb [sold]

 Status: Offline
Profile     Report this post  

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle