[SOLVED] Remapping Razer Naga (and Naga Epic) Buttons

Original Thread Title: Can I remap keys on a single device?
Okay, so I have a Razer Naga Epic here, obviously unsupported by the manufacturer. However, evdev sees the device as two seperate event drivers:
in /dev/input/by-id/:
usb-Razer_Razer_Naga_Epic-event-kbd
usb-Razer_Razer_Naga_Epic-event-mouse
The default mapping of the mouse is set to have the side numbers (1-12) set to 1-0 and then - and = (first row of a standard keyboard, not the numpad equivalent presses)
This becomes problematic when attempting to map the keys to functions in games or different actions in the DE, or any other application.
I'm relatively inexperienced when it comes to remapping keys in X11 or any key remapping in Linux, so its a relatively noob question:
How would I go about remapping the usb-Razer_Razer_Naga_epic-event-kbd keys from the number 0-9 and - and = to nonstandard keys (Fn+0-9, FN+-,= for example, since my system has no Fn key, this would simulate presses normally impossible for me to hit on my keyboard, effectively making this buttons seperate)
I understand that with xmodmap I can change the keys globally (so the keys on my keyboard and mouse would both get changed) but what if I just want to remap the mouse's keys to different buttons?
xinput --list outputs the following:
xinput --list
â¡ Virtual core pointer id=2 [master pointer (3)]
â â³ Virtual core XTEST pointer id=4 [slave pointer (2)]
â â³ Razer Razer Naga Epic id=8 [slave pointer (2)]
⣠Virtual core keyboard id=3 [master keyboard (2)]
â³ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
â³ Power Button id=6 [slave keyboard (3)]
â³ Power Button id=7 [slave keyboard (3)]
â³ Razer Razer Naga Epic id=9 [slave keyboard (3)]
â³ Topre Corporation Realforce 87 id=10 [slave keyboard (3)]
X clearly detects the pointer and button portions of the mouse as two seperate devices. Unfortunately xkeycap (a frontend for xmodmap) confirms my fear that the two devices are handled as one (the virtual core keyboard) as far as X is concerned... I'll have to dig around some more and see if I can figure out how to use the other x keyboard config utils.
I think I may have figured out a relatively simple way, avoiding using xkbcomp and setxkbmap, which are cumbersome. Remembering back to the days when laptop keyboards and such weren't handled as well by evdev, and we had to do funny things with xorg conf files to load special keymaps, I realized that I could make a section for the Naga, and make my own key map file (These files are stored in /usr/share/X11/symbols, in my case I use the us symbols group.)
So my idea is to create a new "naga" symbols group, by editing a copy of the "us" symbols group, which should effectively give me a new keymap for JUST my naga by setting it in xorg.conf to use the naga group. I'll report back whether this works, and mark the thread solved accordingly.
This will not work because of the way evdev assigns itself to devices. I need to make an xkb layout that modifies other layouts, and have it apply itself to the Naga device, I will work on this more later.
Edited: Changed the title to be something more relevant to this particular discussion. Hopefully this will help with people looking for the solution to the same problem!
Last edited by Xaero252 (2012-10-25 23:28:14)

I have been wrestling with this post for quite some time and thought I would post my findings as well.
Let me start off by saying I think you should go with the above posts first because I have just been fumbling around trying to get this to work and it does. However, I have no experience with this and I do not know if this is the best way to go about the remapping (IE it may be considered pretty ugly).
For some reason, the above method did not seem to work all that well for me. What seemed to be happening was that some (but not all) of my keyboard keys would become unresponsive after applying the fix above. EG the 3, 4, 6 & 9 would not register anything after applying the script(s) above. This seemed to correspond to any of the keys (F15, F16, etc.) that were that were assigned a shortcut in KDE->System Settings->Shortcuts and Gestures. I ran xev and took a look at the output to check things out. When pressing those keys, it seemed like both keys (the keyboard 3 and the naga 3 (remapped to F15)) still had the same scancode but a different mappings and xev appeared to be confused in some way. Anyway, the end result was that the keyboard would not register a 3 when pressed.
So to fix it I went down a level in the remapping process. I created a udev rule, a corresponding keymap, and a ~/.Xmodmap and the problem seems to be solved.
For the TL;DR people with a razer naga first generation you can just place these files in the following direcotries, unplug and reconnect your mouse, issue `xmodmap ~/.Xmodmap`  and things may work:
/etc/udev/rules.d/85-razer-naga.rules
/usr/lib/udev/keymaps/razer-naga
~/.Xmodmap
CAUTION: Before you replace the .Xmodmap file, I suggest that you run `xmodmap -pke`. The output is your current key mapping. The ~/.Xmodmap file that I have provided replaces keycodes 191 through 202. Some of those keys maybe be (at least they were for me) special keys that you do not want to replace (IE toggling a touchpad on/off). If you don't have any problem losing anything there (I don't even have those keys) go ahead and replace all the files above and issue `xmodmap ~/.Xmodmap`.
My fix is based on this blog post:
http://stew.vireo.org/blog/posts/Udev_a … keyboards/
I followed that post preciesly only I replaced f13-f24 for all the key codes corresponding to the 1-12 buttons on the naga. Created the rule file and unplugged and replugged my mouse. At that point things did not work. So I re-ran xev to find that the remapping was working but the key codes the naga was spitting out were not the key codes that I was expecting. The scan codes were correct (191-202) but the mapped keycodes were some special keys as stated above (why?, I do not know). So the next step was to force a remapping of the scancode to keycode relationship.
I did this by issuing `xmodmap -pke > ~/.Xmodmap` and generally following the this Archwiki guide.
In the end, I finally got this mouse to work as expected.
Hope this helps.
Have a great day.
-Rick
Last edited by rick1908 (2013-04-04 10:30:30)

Similar Messages

  • Razer Naga 2014 buttons remapping

    The problem: Naga 2014 has 12 buttons that are exactly keyboard's '1-0,-,='. I would like to remap these buttons to something else.
    $ lsusb | grep -i razer
    Bus 003 Device 002: ID 1532:011b Razer USA, Ltd # Razer BlackWidows 2013
    Bus 001 Device 005: ID 1532:0040 Razer USA, Ltd # Razer Naga 2014
    What I did:
    First, I followed that topic https://bbs.archlinux.org/viewtopic.php?pid=1181482
    After
    remote_id=$(
    xinput list |
    sed -n 's/.*Naga.*id=\([0-9]*\).*keyboard.*/\1/p'
    [ "$remote_id" ] || exit
    mkdir -p /tmp/xkb/symbols
    cat >/tmp/xkb/symbols/custom <<\EOF
    xkb_symbols "remote" {
    key <AE01> { [0xffca] };
    key <AE02> { [0xffcb] };
    key <AE03> { [0xffcc] };
    key <AE04> { [0xffcd] };
    key <AE05> { [0xffce] };
    key <AE06> { [0xffcf] };
    key <AE07> { [0xffd0] };
    key <AE08> { [0xffd1] };
    key <AE09> { [0xffd2] };
    key <AE10> { [0xffd3] };
    key <AE11> { [0xffd4] };
    key <AE12> { [0xffd5] };
    EOF
    setxkbmap -device $remote_id -print | sed 's/\(xkb_symbols.*\)"/\1+custom(remote)"/' | xkbcomp -I/tmp/xkb -i $remote_id -synch - $DISPLAY 2>/dev/null
    Mouse' buttons become as F13-F24, but after assigning them to any actions the corresponding keyboard's key becomes unavailable, i.e. cannot type '1-0,-,=' , they work only with Shift.
    After applying rules in /usr/lib/udev/hwdb.d/60-keyboard.hwdb
    keyboard:usb:v1532p0040*
    KEYBOARD_KEY_7001e=f13
    KEYBOARD_KEY_7001f=f14
    KEYBOARD_KEY_70020=f15
    KEYBOARD_KEY_70021=f16
    KEYBOARD_KEY_70022=f17
    KEYBOARD_KEY_70023=f18
    KEYBOARD_KEY_70024=f19
    KEYBOARD_KEY_70025=f20
    KEYBOARD_KEY_70026=f21
    KEYBOARD_KEY_70027=f22
    KEYBOARD_KEY_7002d=f23
    KEYBOARD_KEY_7002e=f24
    nothing happens at all.
    Question:
    Is there any workable solution?
    P.S. I also tried xbindkeys, but as keycodes of mouse 1-12 buttons and keyboard's 1-0,-,= are the same I got the same action.
    Last edited by Perfect Gentleman (2014-03-22 09:10:12)

    remote_id=$(
    xinput list |
    sed -n 's/.*Naga.*id=\([0-9]*\).*keyboard.*/\1/p'
    [ "$remote_id" ] || exit
    mkdir -p /tmp/xkb/symbols
    cat >/tmp/xkb/symbols/custom <<\EOF
    xkb_symbols "remote" {
    key <AE01> { [0x1008ff13] }; # Volume Up
    key <AE02> { [0xffcb] }; # F14
    key <AE03> { [0x1008ff11] }; # Volume Down
    key <AE04> { [0xffcd] }; # F16
    key <AE05> { [0xffce] }; # F17
    key <AE06> { [0xffcf] }; # F18
    key <AE07> { [0xffd0] }; # F19
    key <AE08> { [0xffd1] }; # F20
    key <AE09> { [0xffd2] }; # F21
    key <AE10> { [0xffd3] }; # F22
    #key <AE11> { [0xffd4] }; # F23
    #key <AE12> { [0xffd5] }; # F24
    EOF
    setxkbmap -device $remote_id -print | sed 's/\(xkb_symbols.*\)"/\1+custom(remote)"/' | xkbcomp -I/tmp/xkb -i $remote_id -synch - $DISPLAY 2>/dev/nul
    then reconfigure the buttons for your needs

  • Razer Naga compatability?

    Hello,
    I've been thinking of buying a Razer Naga mouse for my desktop and keymap the numpad on the side so I can use them for application/compiz launchers. I did a web search for linux compatability but didn't get any useful results, except one from 8 months ago saying that the mouse's numpad doesn't do anything in linux.
    I'm wondering if anyone has had experience with this mouse with all its buttons working on Arch og linux in general? I don't really want to buy it for $80 and not having 12 of its 17 buttons working.
    Last edited by heimdallur (2010-06-06 15:17:05)

    >>>Program the mouse with any old Windows setup.
    This is the Razer Naga mouse.  It does not store anything on board.  The "numbers" bjowork and correspond to 1,2,3...0,-,=.
    OK, now if you were to _only_ use the number pad, great.  Or wait no, not use numbers at-all (it is complicated by mechanical keyboarding).
    Theoretically this should reduce over head of a usb device preforming computations.
    Unfortunately the remap is quazi achieved on my part thus far.  I can get X to understand the left and right button switch (phew!).
    My quake2 does not obey this despite having been loaded on X.  It also reads the left-right scrollwheel buttons as up down scrolling.  Hahaha.  It is definitely sending a unique signal, its just being automapped somewhere to this function (which low and behold may involve X afterall)
    I had this issue with the Nostromo POS.  Heard of it?  The keymaps are rather simple hardwired keyboard signals. . . which do not correlate to not essential codes for some reason despite the rather availability of several functions US-105 or otherwise.
    The "fix" for this is a kernel module IMO.  I've been through the keymaps extra to no avail.  Signal out of a kernel cannot be intervened.  eh 
    GD
    Last edited by PalaceGerbil (2014-01-03 01:22:11)

  • 890FXA-GD70 no boot with Razer Naga (on the latest 2 biosses)

    With the 890FXA-GD70 I had no problems well still have no problems but if I run on either the latest bios 1.12 (1.C) or the one before that 1.11 (1.B) the mobo will hang on initialising USB controllers if you have the Razer Naga (and from what I heard other razer mouses as well). On the BIOS I'm running now 1.10 (1.A) I have no problems so I'm kind off wondering what you guys changed to the latests 2 BIOS that makes the motherboard unable to boot with the Razer mice.
    If you need other info you can have it but as I'm sure this is not a hardware problem but a BIOS problem I doubt any other info would be of use to solving the problem.
    I checked with multible power option (EuP/CPU Phase/DDR Phase/Cool & Quiet/C1E) but even with those disabled the motherboard still hangs on initialising USB controllers.
    On Fail-safe defaults the motherboard also hangs on initializing USB controllers.
    If I plug the mouse in after Windows has started the whole computer just freezes (on the 1.11 or 1.12 BIOS).
    If I need to forward this to support do tell as it seems quite weird that 2 bios updates where nothing much has changed besides:
    1.11:
    - Update CPU AGESA code.
    - Update RAID option ROM.
    - Improved memory compatibility.
    1.12
    - Update CPU module.
    Cause the BIOS/motherboard to hang on initialising usb controllers.

    PSU has nothing to do with it, but it's a 1500W MaxRevo (Gold 94% efficiency).
    Processor is a Phenom II X6 1100T
    Memory is also supported memory which is Kingston KVR1333D3N9 4x => 16GB
    After I flash the BIOS I always clear the CMOS actually twice since the first time I try to save the BIOS options (AHCI=on and no bootlogo etc.) the system does not boot XD but that might be because I don't unplug the powercord while I clear the CMOS though the computer is completely turned off. After I clear the CMOS a second time it will be able to save the options and normally boot.
    A CMOS clear shouldn't be required actually since the BIOS update (DOS-WAY) destroys the CMOS checksum doing the same as a CMOS clear except for keeping the date (all other BIOS options are reset).
    For kicks I've tried the in the BIOS 1.12 (1.C) I've put the Razer Naga in the USB2 slot I normally put it on the back = no boot, USB3 slots = no boot, front panel USB = no boot. Hell the first thing I do is trying usb-ports or different ports if something does not work like the Adaptec Raid Cards in the EFI mobo's.
    I've been in IT for like 6 years now and I've never had problems with my Razer mouse(s) as I had an Razer Imperator before the Razer Naga. The 790FX-GD70 motherboard I had never had problems with it (besides it dying of old age ;P). Apperantly since the latest update the mouse also works on the 990FXA-GD80 motherboards without problems in the BIOS anymore.
    Like I said the weird thing to me is that it happens with the 1.11 (1.B) and the 1.12 (1.C) bios while the 1.10 (1.A) bios (which is the one I'm on now) works perfectly. Which in logical sence makes the next 2 biosses bad as something is programmed in there differently than the 1.A bios and cause the Razer Naga (and most likely other gaming mice with own firmware) to fail. This should not be that way seeing as the if the only thing that is added to the bios (from 1.A on) is better cpu support, more memory support and the raid option rom not that I'm into bios programming but if the code was continued from the previous bios code and not rewritten completly the motherboard would still boot with the Naga period.

  • Razer Naga in World of Warcraft 4.1

    Im trying to play world of warcraft 4.1, on a 2011 MBP 15" 2.2 i7. The game runs smooth enough, 60FPS in raids and HC, but the problem im getting is the my mouse. I'm using a Razer Naga, with in OS X it works well enough, but in WoW it feels very jumpy, makeing moving ment quite hard. I have the Mac drivers installed and have look on some forums but to no avail. Is it the Mac setting comingin to conflict with the naga settings or the wow client having issues with an external mouse?
    I'm very new to macs as well so any surjestions would be great no matter how "basic" they may be considered.
    Thanks

    Damski
    That is not a Mac issue, you sould be contacting tech support for WoW ....
    Joseph

  • Razer Naga Hex (red) USB Device disabled

    if can someone help me i have a razer naga mouse that isn't working anymore since it says the USB device is disabled and it says it uses too much energy. it was working before when i had my mouse. I tried plugging it in to my sisters mac and same thing it says its disabled please help i only had this mouse for 3 months and now its not working if you could provide some help then to fix this than thanks.

    Try resetting the SMC Intel-based Macs: Resetting the System Management Controller (SMC) - Apple Support
    If that doesn't help try plugging the third party mouse into a POWERED usb hub, don't use a hub powered by the computer.
    If it still doesn't work consider returning the mouse as defective.

  • Print, Export and Page Navigation Buttons in the Report

    When I view a report through CR4E, the generated report has 3 buttons namely Print, Export and Page Navigation buttons. But when I click on either of the buttons I get a &#39;null pointer exception&#39;. This is a critical error as I am unable to navigate past the first page. Do I have to add code to these buttons? If not, why am I getting an error? Kindly solve my problem as soon as possible.

    <p>Looking at your code it appears that you are storing the ReportSource in session prior to passing in the ResultSet. This will create a problem when a postback is made on  the viewer page (which all of the viewer actions do). If you look at the sample code which is generated when you use the JSP Page Wizard you will notice that the ResultSet is passed to the ReportClientDocument object prior to it being stored in session. Then, when the page is called again this object is retrieved and the ReportSource is used by the viewer. You can quickly run the test using one of our sample reports to see what I am talking about. The code below was generated using the Consolidated Balance Sheet.rpt and did not experience any problems doing any of the viewer actions.</p><%@page import="com.businessobjects.samples.JRCHelperSample,<br />com.crystaldecisions.report.web.viewer.CrystalReportViewer,<br />com.crystaldecisions.reports.sdk.ReportClientDocument,<br />com.crystaldecisions.sdk.occa.report.application.OpenReportOptions,<br />com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase,<br />com.crystaldecisions.sdk.occa.report.reportsource.IReportSource,<br />java.sql.Connection,<br />java.sql.DriverManager,<br />java.sql.ResultSet,<br />java.sql.SQLException,<br />java.sql.Statement"%><%<br /><br /><br />    try {<br /><br />        String reportName = "Sample Reports/Consolidated Balance Sheet.rpt";<br />        ReportClientDocument clientDoc = (ReportClientDocument) session.getAttribute(reportName);<br /><br />        if (clientDoc == null) {<br /><br />            clientDoc = new ReportClientDocument();<br />            <br />            // Open report<br />            clientDoc.open(reportName, OpenReportOptions._openAsReadOnly);<br /><br />  <br />            {<br />                // **** POPULATE MAIN REPORT ****<br />                {<br />                     // Connection Info for fetching the resultSet<br />                    String connectStr = "jdbc:derby:classpath:/Xtreme";<br />                    String driverName = "org.apache.derby.jdbc.EmbeddedDriver";<br />                    String userName = "dbuser";        // TODO: Fill in database user<br />                    String password = "dbpassword";    // TODO: Fill in valid password<br /><br />                    String query = "SELECT CUSTOMER_NAME FROM APP.CUSTOMER WHERE COUNTRY = &#39;Australia&#39;";<br /><br />                    <br />                    String tableAlias = "FINANCIALS";        // TODO: Change to correct table alias<br /><br />                     <br />                    JRCHelperSample.passResultSet(clientDoc, fetchResultSet(driverName, connectStr, userName, password, query),<br />                        tableAlias, "");<br />                }<br /><br /><br />            }<br />        <br />            // Store the report document in session<br />            session.setAttribute(reportName, clientDoc);<br /><br />        }<br /><br /><br />            {<br />                // Create the CrystalReportViewer object<br />                CrystalReportViewer crystalReportPageViewer = new CrystalReportViewer();<br /><br />                //    set the reportsource property of the viewer<br />                IReportSource reportSource = clientDoc.getReportSource();                <br />                crystalReportPageViewer.setReportSource(reportSource);<br /><br />                // set viewer attributes<br />                crystalReportPageViewer.setOwnPage(true);<br />                crystalReportPageViewer.setOwnForm(true);<br /><br />                // Process the report<br />                crystalReportPageViewer.processHttpRequest(request, response, application, null); <br /><br />            }<br />            <br /><br />    } catch (ReportSDKExceptionBase e) {<br />        out.println(e);<br />    } <br />    <br />%><%!<br />// Simple utility function for obtaining result sets that will be pushed into the report.  <br />// This is just standard querying of a Java result set and does NOT involve any <br />// Crystal JRC SDK functions. <br /><br />    private static ResultSet fetchResultSet(String driverName,<br />            String connectStr, String userName, String password, String query) throws SQLException, ClassNotFoundException {<br /><br />        //Load JDBC driver for the database that will be queried    <br />        Class.forName(driverName);<br /><br />        Connection connection = DriverManager.getConnection(connectStr, userName, password);<br />        Statement statement = connection.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY);<br /><br />        //Execute query and return result sets<br />        return statement.executeQuery(query);<br /><br />}%><p>Try using the code generated from the wizard to see if it works for you as well. </p><p>Regards,<br />Sean Johnson (CR4E Product Manager) </p>

  • IPhone 4s looks shut down all the time.especially when the 3g is on.in the forums its said to push the use button and the power button at the same time.the people calling me cannot reach at my phone.what should i do ?

    my phone looks like offline all the time.its all about me to notice that its offline.then i have to push the main button and the power button together to open it.then the apple sign comes on the screen and the phone turns online.but i cannot receive the information of who called me at the time that my iphone 4s turned offline by itself.i cannot receive messages at all.what can i do now ? i sent the phone to the service and they just told me that they installed the current version.but i guess nothing happened.its doing the same thing again.i cannot use my iphone.
    From Turkiye.

    I've tried all those.But nothing works.The phone seems to be shut down.But it is not.When i get it out of my pocket, for example to call someone, i touch to main button but nothing happens.I solve it by pushing the power button and the main button together just for a couple of seconds, as its said so in the forums.
    also, people told me that they were calling me, my phone was ringing but i didnt answer?...i checked it for millions of times, it seems to be shut down, but its normally not.then i push the buttons together and the apple sign comes on the screen.it searches for the network.and it works.
    but i do not see any calls, texts anything.but for the others, they say my phone seems to be workin.
    I thought it was 'cause of the 3G is switched on but when I turn 3G off, it does the same thing.it seems to be offline all the time.

  • Mute button, low volume button and high volume button not working after upgrade to Win7 Pro

    Hi all, Im using X301. Previously it was shipped with the Vista Business. I was entitled for free upgrade to Win7 since the thinkpad was bought after 25th of June 09. The problem started after I successfully upgraded my Vista to Win7 Pro. My Mute/Unmute button was consistently in amber colour (signal for disabled). the volume button also is not working anymore. On the system side, everything was fine. the drivers is working properly.. the windows also is showing the volume is in a good shape. Unfortunately the button on the thinkpad is always on the disabled mode. Ive been searching for a related drivers that i could download and solve the issue. but till now all the softwares and drivers downloaded from lenovo could not solve my problem. any suggestion or comment is highly appreciated. thanks a million

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:       
    iOS: How to back up
    - Restore to factory settings/new iOS device.
    -  Make an appointment at the Genius Bar of an Apple store.
    Apple Retail Store - Genius Bar
    When iOS 6.1 comes out I would update.

  • How does this program group and cluster these button values into an array?

    In the attached program, there are 6 buttons in a cluster and 1 individual button. These buttons control a bunch of different relays to control power to different components of a single device. Right now the program works in that I can control the 6 buttons, the LED turns on in the board and the power is being transmitted. What I do not understand is how it is doing this.  I ran the program with the highlight execution on and at the start of the read from array component, if say I pressed button 6 and hit ok, it reads #6, where did these get defined and labled? and if i wanted to add another button/relay how do i do this? If someone could explain step by step how this is grouping the relays on the board into an array and then controling them I would really appreciate it. Thanks.
    Solved!
    Go to Solution.
    Attachments:
    Cluster to Array.vi ‏85 KB

    The #6 your seeing is the number of elements in the array not a value for the array. 
    Now for some deeper explainations.   From the code it appears that exactly 1 of 6 valves may be used and an additional valve may be in one of two possible states.
    When the program is run the cluster of buttons is initiallized to all False.  and we enter the outer while loop where a sequence structure starts.  In the first frame of the sequence we initiallize a shift register to hold the current value of "Buttons." and this loop runs unthrottled (Add a wait for next ms multiple to this loop to prevent using 100% of the CPU!) 
    For each iteration the buttons are read and if a change has occured to any value buttons that were previously True are reset to False to prevent opening more than one valve.
    When the user presses OK or stop- the current "Buttons" value is passed to the next frame.  This frame convertsthe 7 boolean values to a integer where each valve is controlled by a seperate bit of the integer (Isolation is bit 6 and bits 0-5 each control a mixing valve)
    Now I'd strongly recommend reworking the DAQmx calls- it is pointless to initiallize the task each time you want to use it- Create the task in the initialzation case and wait until the user exits to destroy the task.  And well a sequence structures are frowned on- (there are better ways to do this)
    As far as adding a relay- right now the relays are associated to the hardware by their index position in the cluster (element 1 = bit 0 etc....) to add a new valve you would need to decide what bit you would use to drive it and code in that bits' value to write a 0 in that bit.  (hint the 40 constant is realy 0x40 right-click>visable items>show radix )
    Let me know if you need further elaboration
    Jeff

  • Save Layout and change Layout button.

    Hi Guys,
                Im calling the below method of class: cl_gui_alv_grid.
        gs_variant_lic-report = sy-repid.
        gs_variant_lic-username = sy-uname.
          CALL METHOD gi_alv_lic->set_table_for_first_display
            EXPORTING
              i_structure_name         = 'Z_STRUC'
              is_variant                    = gs_variant_lic
              i_save                        = 'A'
              is_layout                    = ls_layout
    However, the Select layout and Save Layout button dont appear.
    Instead i get the button 'Choose Layout'.
    If i dont pass gs_variant, i get single button 'Change Layout'.
    My requirement is to get 3 buttons: 'Change Layout', 'Select Layout' and 'Save Layout'.
    How can i achieve that?
    Thanks,
    Rohit.

    Please share how did u solved it?

  • Remap PGUP/Home and PGDN/End keys using Steelseries Engine

    I just got an MS60 Ghost Pro.  I didn't pay attention to it before I bought it, but the document location keys are all lumped together.  I use this laptop for work and play, so having to push extra keys to use Home and End is extremely awkward.
    Is there a way to remap the PGUP key so it just does Home, and the PGDN key just does End using the Steelseries Engine?  Ideally, I'd like to switch the mapping so PGUP does Home and Fn + PGUP does Page Up.  I tried to do it with a macro and it kept saying "Reserved."  Has anyone else dealt with this issue?  Couldn't find a quick answer through a Google search.  Thx.

    To get what you need, you have to remap key function in two different keyboard layers and I do not think it would increase your work efficiency. You can set PGUP key as "home" in a layer and set PGUP key as its default in another layer and switch between layers when needed. OR you can assign another key as PGUP function and set PGUP key as home key in one layer which will be more efficient in my opinion, then you do not need to switch layers.
    When you see "reserved" in keypreses column, you are one step left to complete the setup. Just goto Profiles at the left hand column and press save button.

  • HT1430 my iphone 4 stopped working suddenly....i held the on button and the home button at the same time and it cam on...is this a fault as i cant have my phone switching off randomly?

    my iphone 4 stopped working suddenly....it wouldnt charge or anything...i was told to push the on button and the home button at the same time and it came back on.
    is this a fault with the iphone????
    i cant have my phone switching off randomly...any help please...thankyou.

    sometimes it happens, a hard reset will sometimes solve the issue.
    If the issue starts happening more often, I would consider restoring the device to factory settings to install clean software. If the issue still persists after that, the device might need a hardware repair.
    More info on backing up and restoring the software: http://support.apple.com/kb/HT4137
    Good luck
    Stijn

  • Hone turned off . i tried several times to turn it on but i doesnt work even by using the power and the home button. what should i do ?

    ive got the iphone 5s 4 weeks ago.today the screen turned blue and the phone turned off . i tried several times to turn it on but i doesnt work even by using the power and the home button. what should i do ?

    Hi vanessato,
    Thanks for visiting Apple Support Communities.
    I recommend these troubleshooting steps if your iPhone does not turn on.
    iPhone: Hardware troubleshooting
    http://support.apple.com/kb/TS2802
    Will not turn on, will not turn on unless connected to power, or unexpected power off
    Verify that the Sleep/Wake button functions. If it does not function, inspect it for signs of damage. If the button is damaged or is not functioning when pressed, seek service.
    Check if a Liquid Contact Indicator (LCI) is activated or there are signs of corrosion. Learn about LCIs and corrosion.
    Connect the iPhone to the iPhone's USB power adapter and let it charge for at least ten minutes.
    After at least 30 minutes, if:
    The home screen appears: The iPhone should be working. Update to the latest version of iOS if necessary. Continue charging it until it is completely charged and you see this battery icon in the upper-right corner of the screen . Then unplug the phone from power. If it immediately turns off, seek service.
    The low-battery image appears, even after the phone has charged for at least 20 minutes: See "iPhone displays the low-battery image and is unresponsive" symptom in this article.
    Something other than the Home screen or Low Battery image appears, continue with this article for further troubleshooting steps.
    If the iPhone did not turn on, reset it while connected to the iPhone USB power adapter.
    If the display turns on, go to step 4.
    If the display remains black, go to next step.
    Connect the iPhone to a computer and open iTunes. If iTunes recognizes the iPhone and indicates that it is in recovery mode, attempt to restore the iPhone. If the iPhone doesn't appear in iTunes or if you have difficulties in restoring the iPhone, see this article for further assistance.
    If restoring the iPhone resolved the issue, go to step 4. If restoring the iPhone did not solve the issue, seek service.
    Best,
    Jeremy

  • Razer Pro and 10.5

    Razer 1,6 works but button 6 and 7 are not recognized. I don't want to install Razer preferences panel when it will availabe form Razer (now they are incompatible), but i want Leopard itself recognize correctly all the buttons.
    System says there are buttons 6 and 7 too, but for example i can't use them in games or in exposè/spaces prefs.
    Is it possible to fix this, it is a cool mouse and i don't want third party software, but simply Leopard recognizing all the buttongs.
    PS: 10.5 rocks.

    Is there a way to report this to Apple directly?

Maybe you are looking for