Softpanorama

May the source be with you, but remember the KISS principle ;-)
Contents Bulletin Scripting in shell and Perl Network troubleshooting History Humor

Logitech Gaming Software

Macros as a powerful Webmaster and Sysadmin Instrument

News Programmable Keyboards Recommended Links Creating macros using the MR key Troubleshooting Logitech G-keyboards macros Windows Keyboard and Mouse Utilities
AutoHotkey Lua  G-keyboards LUA Scripting Logitech G510s Gaming Keyboard Logitech G600 MMO Gaming Mouse  Logitech G13 Programmable Gameboard with LCD Display

Clipboard managers

Carpal tunnel syndrome

Tendinitis  Sysadmin Horror Stories Humor Etc

Introduction

For all Logitech G line products configuration and macros functionality requires installation of drivers and software to function properly. The software Logitech provides is called Gaming Software or LGS. It. The Logitech Web page detects your version of Windows automatically and suggest the version on LGS to install  

Logitech Gaming Software - Logitech Support

Software Version: 8.57.145
Post Date: Oct 28, 2014
OS: Windows 8, Windows 7, Windows Vista
File Size: 65.7 MB

Updated Description:

•Added support for the G910 Orion Spark Gaming Keyboard
Added Input Analysis support for the following devices: G910, G510s, G19s, G105, G13
•Updated LED Illumination SDK to support the G910 gaming keyboard -- see http://gaming.logitech.com/developers for details
•Optimizations and applet bug fixes for Arx Control built-in applets

You can also update software from within LGS. Click on ^ sign above ? (help) button in GUI and select "check for updates".

It provides approximately the same functionality as Microsoft Intellitype/Intellipoint with some additional limitations and worse interface. The major limitation is that you can't redefine such keys as numeric pad keys, stop key for multimedia, etc. The only permissible target assignment for macros are G-keys. That's a very limiting architectural decision, which makes the product look amateurish in comparison with alternatives such as Microsoft Sidewinder.   On G510S in not acutely felt as this keyboard have plenty of keys (18 keys is generally enough), but on other keyboard this is a serious limitation. It might be better to use Microsoft keyboard with G13 keypad that to buy more expensive Logitech keyboards. 

The only target assignment for macros are G-keys. That's a very limiting architectural decision, which makes the product look amateurish in comparison with alternatives such as Microsoft Sidewinder.  

But the ability to write macros in LUA changes everything.  It is really a step forward as you can use full-fledged scripting language for generation of strings (for example various types of timestamp) text transformations, etc.

The other problem is LGS is a rather closed software. Individual profile have their individual XML files, but macros don't. They are just fragments of the profiles.  Profiles are stored as individual XML files with generated names in

"C:\Users\JoeUser\AppData\Local\Logitech\Logitech Gaming Software\"

That makes some operations difficult (moving macro from one profile to another). But there is possibility to copy the whole exiting profile under a new name and modify it for new application. Operations Export and import  availble in profile bar permit accomplishing exactly this.  See also Operations with macros.

Profiles

Initially a single profile called default profile exists. Commands and macros from this profile are applicable to all the applications unless they are overwritten by application-specific profile macros.

Each application can have a profile attached to it. That means that your macros can be made application specific.  You need to  access the profile bar  in order to maintain existing profiles and create new. To do so:

Here is relevant part of Logitech FAQ that describes the creation of a new profile:

To create a new profile:

  1. Open the Logitech Gaming Software:

    Start > All Programs > Logitech > Logitech Gaming Software 8.x

  2. Click the glowing G-Keys.
  3. Move the cursor over the "+" icon in Profiles and look for the down arrow to appear.
  4. Click the down arrow under the "+" and click "Create New Profile."

    This window will pop up showing what is required to set up a profile.

    • Name - Enter a name for your new profile.
    • Description - (Optional) Add a description of the profile.
    • Select Game Executable - Locate and select the  .exe file.

      NOTE: Some games use launcher .exe applications, so make sure the profile is associated with the game's .exe file and not the launcher's. Other games use separate .exe files for single and multiplayer modes (for example, Call of Duty). If your profile isn't working, check Task Manager after the game has launched to determine if it's associated with the correct .exe. (See 28140 for more information.)
       

    • Lock profile while game is running - Sometimes, background applications may jump to the "top" and disrupt your profile from activating. If this happens, you can select this check box to lock the profile so it's active regardless of the "top" application. Locking a profile may also help where the profile works when the game is launched, but stops working afterward.
       
    • Copy from an existing profile - If you prefer, you can base a new profile off one that already exists. This is useful when you're making profiles for games with both single and multiplayer .exe files.

      NOTE: If you have a G-Series keyboard with an LCD screen installed, you'll see a slightly different window with an additional option.
       

    • Select using GamePanel display - Select this option if you're having trouble associating a profile with the correct .exe (see 28139 for more information).
       
  5. Click OK to finish setting up your new profile.

Your new profile should now be visible in the Profiles area at the top of the window. If the Logitech Gaming Software was able to detect an icon for the application before, it should appear with your profile

You can print profile using print icon on the profile bar. That provides convenient cheat-sheets.

Here are some additional links from Logitech FAQ

Managing profiles for the G510s Gaming Keyboard using Logitech Gaming Software -

You can configure your gaming keyboard to behave differently for each program on your computer using the Profiles feature in the Logitech Gaming Software (LGS).

NOTE: Every profile created is shared with other installed LGS-compatible products, so a profile chosen for a keyboard will be the same profile used by an LGS-compatible mouse.

To learn about:

For help with:

Fragility of LSF and loss of profiles

LSF is very fragile software. In case your PC or laptop crashes, you can lose some or all of your profiles. It's already happened to me. So it is important to backup them periodically and each time when you made a change.

The simplest way is export them to XML. You can import them later, in case they are wiped out by the crash. 

Macros in LGS

The macro and quick key functions are easy to use. They can be assigned to profiles for individual programs, for example Frontpage. Macro recorder allows recoding intervals between key presses. There are two ways to record macros:

You can create a profile and assign record macros for ANY program. Just open up the key profiler program, and select the program's EXE file, and give it a name.

In "G-screen" software displays the G-keys and profile bar. If you hover the mouse on the particular G-key, the key is highlighted and the down arrow appears. Clicking of it brings menu which consist of several items, which corresponds to multiple ways to create your macros:

After you select the function to assign the key, click OK. This will apply the new function and you'll see it named with the name you have chosen over the key in the window (for example the key will be labeled as "Forward", "Back", "Left", and "Right", etc).  To unassigned a G-Key, either right-click and select "Unassign", or drag the command from the key to the trash icon in the LGS window.

See Programming gaming keyboard G-Keys using Logitech Gaming Software - Logitech FAQ

You can record macros on the fly and assign them to selected G-key:

LUA scripting

Each profile can have one script attached to it. You can access the script editor in order to maintain scripts from the main Gaming Software window. To do so:

The built-in Script editor window is displayed. You can use its menus and features to perform a range of tasks, including the creation and saving of new scripts, and the importing and exporting of scripts.

All profile scripts are activated when the profile is activated and deactivated when the profile is deactivated.
There is Lua support material available, describing how scripting works, the functions available, and so on, as well as some samples and other documentation. This documentation is accessible from the Help menu of the Script window.

LUA functions

The functions available to you in Lua fall into two categories:

  1. G-keyboard LUA API: functions added to the Lua engine by Logitech. These are documented in the Scripting API that can be accessed via the script editor Help menu.
  2. A subset of LUA built-in functions. Only a subset of functions that came with the Lua engine (i.e. built-in functions defined by the LUA language specs) can be used. These can be accessed via the script editor Help menu.

The following LUA built-in functions described in the Lua Online Reference are not available in Logitech's implementation:

and possibly debug.*. In Logitech forum was reported that debug.traceback() will crash the software, but other debug functions may work.

So LUA functionality is severely castrated. Especially bad is absence of file.* and io.* packages. You can work only with the clipboard. No functions built into Logitech implementation of Lua that give you direct access to Windows DLLs and Logitech doesn't provide any wrapper functions.

See also Logitech G-keyboards LUA Scripting

Tips



Etc

FAIR USE NOTICE This site contains copyrighted material the use of which has not always been specifically authorized by the copyright owner. We are making such material available in our efforts to advance understanding of environmental, political, human rights, economic, democracy, scientific, and social justice issues, etc. We believe this constitutes a 'fair use' of any such copyrighted material as provided for in section 107 of the US Copyright Law. In accordance with Title 17 U.S.C. Section 107, the material on this site is distributed without profit exclusivly for research and educational purposes.   If you wish to use copyrighted material from this site for purposes of your own that go beyond 'fair use', you must obtain permission from the copyright owner. 

ABUSE: IPs or network segments from which we detect a stream of probes might be blocked for no less then 90 days. Multiple types of probes increase this period.  

Society

Groupthink : Two Party System as Polyarchy : Corruption of Regulators : Bureaucracies : Understanding Micromanagers and Control Freaks : Toxic Managers :   Harvard Mafia : Diplomatic Communication : Surviving a Bad Performance Review : Insufficient Retirement Funds as Immanent Problem of Neoliberal Regime : PseudoScience : Who Rules America : Neoliberalism  : The Iron Law of Oligarchy : Libertarian Philosophy

Quotes

War and Peace : Skeptical Finance : John Kenneth Galbraith :Talleyrand : Oscar Wilde : Otto Von Bismarck : Keynes : George Carlin : Skeptics : Propaganda  : SE quotes : Language Design and Programming Quotes : Random IT-related quotesSomerset Maugham : Marcus Aurelius : Kurt Vonnegut : Eric Hoffer : Winston Churchill : Napoleon Bonaparte : Ambrose BierceBernard Shaw : Mark Twain Quotes

Bulletin:

Vol 25, No.12 (December, 2013) Rational Fools vs. Efficient Crooks The efficient markets hypothesis : Political Skeptic Bulletin, 2013 : Unemployment Bulletin, 2010 :  Vol 23, No.10 (October, 2011) An observation about corporate security departments : Slightly Skeptical Euromaydan Chronicles, June 2014 : Greenspan legacy bulletin, 2008 : Vol 25, No.10 (October, 2013) Cryptolocker Trojan (Win32/Crilock.A) : Vol 25, No.08 (August, 2013) Cloud providers as intelligence collection hubs : Financial Humor Bulletin, 2010 : Inequality Bulletin, 2009 : Financial Humor Bulletin, 2008 : Copyleft Problems Bulletin, 2004 : Financial Humor Bulletin, 2011 : Energy Bulletin, 2010 : Malware Protection Bulletin, 2010 : Vol 26, No.1 (January, 2013) Object-Oriented Cult : Political Skeptic Bulletin, 2011 : Vol 23, No.11 (November, 2011) Softpanorama classification of sysadmin horror stories : Vol 25, No.05 (May, 2013) Corporate bullshit as a communication method  : Vol 25, No.06 (June, 2013) A Note on the Relationship of Brooks Law and Conway Law

History:

Fifty glorious years (1950-2000): the triumph of the US computer engineering : Donald Knuth : TAoCP and its Influence of Computer Science : Richard Stallman : Linus Torvalds  : Larry Wall  : John K. Ousterhout : CTSS : Multix OS Unix History : Unix shell history : VI editor : History of pipes concept : Solaris : MS DOSProgramming Languages History : PL/1 : Simula 67 : C : History of GCC developmentScripting Languages : Perl history   : OS History : Mail : DNS : SSH : CPU Instruction Sets : SPARC systems 1987-2006 : Norton Commander : Norton Utilities : Norton Ghost : Frontpage history : Malware Defense History : GNU Screen : OSS early history

Classic books:

The Peter Principle : Parkinson Law : 1984 : The Mythical Man-MonthHow to Solve It by George Polya : The Art of Computer Programming : The Elements of Programming Style : The Unix Hater’s Handbook : The Jargon file : The True Believer : Programming Pearls : The Good Soldier Svejk : The Power Elite

Most popular humor pages:

Manifest of the Softpanorama IT Slacker Society : Ten Commandments of the IT Slackers Society : Computer Humor Collection : BSD Logo Story : The Cuckoo's Egg : IT Slang : C++ Humor : ARE YOU A BBS ADDICT? : The Perl Purity Test : Object oriented programmers of all nations : Financial Humor : Financial Humor Bulletin, 2008 : Financial Humor Bulletin, 2010 : The Most Comprehensive Collection of Editor-related Humor : Programming Language Humor : Goldman Sachs related humor : Greenspan humor : C Humor : Scripting Humor : Real Programmers Humor : Web Humor : GPL-related Humor : OFM Humor : Politically Incorrect Humor : IDS Humor : "Linux Sucks" Humor : Russian Musical Humor : Best Russian Programmer Humor : Microsoft plans to buy Catholic Church : Richard Stallman Related Humor : Admin Humor : Perl-related Humor : Linus Torvalds Related humor : PseudoScience Related Humor : Networking Humor : Shell Humor : Financial Humor Bulletin, 2011 : Financial Humor Bulletin, 2012 : Financial Humor Bulletin, 2013 : Java Humor : Software Engineering Humor : Sun Solaris Related Humor : Education Humor : IBM Humor : Assembler-related Humor : VIM Humor : Computer Viruses Humor : Bright tomorrow is rescheduled to a day after tomorrow : Classic Computer Humor

The Last but not Least


Copyright © 1996-2016 by Dr. Nikolai Bezroukov. www.softpanorama.org was created as a service to the UN Sustainable Development Networking Programme (SDNP) in the author free time. This document is an industrial compilation designed and created exclusively for educational use and is distributed under the Softpanorama Content License.

The site uses AdSense so you need to be aware of Google privacy policy. You you do not want to be tracked by Google please disable Javascript for this site. This site is perfectly usable without Javascript.

Original materials copyright belong to respective owners. Quotes are made for educational purposes only in compliance with the fair use doctrine.

FAIR USE NOTICE This site contains copyrighted material the use of which has not always been specifically authorized by the copyright owner. We are making such material available to advance understanding of computer science, IT technology, economic, scientific, and social issues. We believe this constitutes a 'fair use' of any such copyrighted material as provided by section 107 of the US Copyright Law according to which such material can be distributed without profit exclusively for research and educational purposes.

This is a Spartan WHYFF (We Help You For Free) site written by people for whom English is not a native language. Grammar and spelling errors should be expected. The site contain some broken links as it develops like a living tree...

You can use PayPal to make a contribution, supporting development of this site and speed up access. In case softpanorama.org is down you can use the at softpanorama.info

Disclaimer:

The statements, views and opinions presented on this web page are those of the author (or referenced source) and are not endorsed by, nor do they necessarily reflect, the opinions of the author present and former employers, SDNP or any other organization the author may be associated with. We do not warrant the correctness of the information provided or its fitness for any purpose.

Last modified: October, 11, 2015