Reply
Logi Visitor
Posts: 21
Registered: ‎01-06-2013

G710+ How do you change Profiles on the fly?

How do you change profiles on the fly?  I Play DCS and it has several aircraft modles that realy require their own indivdual profiles, no to mention the mission editor, that can use some personal functionality.

Logi Guru
Posts: 2,080
Registered: ‎06-04-2010

Re: G710+ How do you change Profiles on the fly?

[ Edited ]

If you only need 3 different modes, you can use MStates.  M1, M2 and M3 allow for 3 different macros.  The reality is, the G710 doesn't offer a lot of G keys for gaming.  A G13 would provide a lot more help in that regard.

 

I personally use a script that allows me to press and hold mouse buttons that change what I call Modes, so that I can switch Mode easily.  And each mode has a map layout with different functions.

 

This is the script I use: http://www.logitechusers.com/game-profiles-macros-discussion/14548-llproject-2-0-2-profile-script.ht...

 

Here is a sample from my Darksiders II script (the new version allows for a new way of listing G keys, but the old way works too):

-- llProject End -->
ll=ll or {}; ll.SETUP = { Folder = [[E:\Logitech Scripts\llProject\]] }
dofile(ll.SETUP.Folder .. [[llProject.lua]])
-- llProject End -->
ll.lhc.map[1]:SetBacklightColor(4, 7, 5)
ll.lhc.map[2]:SetBacklightColor(50, 50, 100)
ll.lhc.map[3]:SetBacklightColor(100, 50, 50)
ll.lhc.map.mb7:SetBacklightColor(0, 0, 255)
ll.kb.map[1]:SetBacklightColor(200, 0, 0)
ll.kb.map[2]:SetBacklightColor(0, 0, 200)
ll.kb.map[3]:SetBacklightColor(0, 0, 0)

--ll.devMode = dm_TEST

function _OnActivation()
--
-- ADD ANY START UP ROUTINES HERE
--
	ll.mouse.map[0] = {
		G4 = "lalt",					-- dodge
		G5 = "tab",					-- radial menu
		G6 = "e",						-- action
	}
	ll.lhc.map[0] = {
		G26 = "w",
		G27 = "d",
		G28 = "s",
		G29 = "a",
	}
	ll.lhc.map[1] = {
		G1 = "1",						-- Health
		G2 = "v",						-- Reaper
		G3 = "f",						-- focus toggle
		G4 = "lshift",				-- focus on hold	
		G5 = "e",						-- Action
		G6 = "spacebar",				-- climb/jump
		G7 = "q",						-- aim

		G8 = "2",						-- Wraith (mana)
--		G9  = "1",
		G10 = "6",					-- Teleport
		G11 = "5",					-- Harvest
		G12 = "8",					-- Aegis Guard (shield)
		G13 = "5",

--		G15 = "6",
--		G16 = "7",
--		G17 = "4",
--		G18 = "9",
--		G19 = "0",
		
		G20 = "c",					-- mount
		G21 = "b",					-- Walk/Run toggle
		G22 = "o",					-- chronicle

		G23 = "escape",
		G24 = "enter",
	}

	ll.lhc.map.mb7 = {	
		G3 = "minus",
		G4 = "equal",
		G5 = "lbracket",
		G6 = "rbracket",
	}

	crLogo = ll.Routines:Run(Display_Logo)
end

function Display_Logo()
	while true do
		local date = GetDate("%a %x        ")
		local time = GetDate("%I:%M:%S %p")

		if string.sub(time, 1, 1) == "0" then
			time = "   " .. string.sub(time, 2)
		end
		time = date .. time

		ll.e:LcdClear()
		ll.e:LcdPen("FFFFFF")
		ll.e:LcdPic("Darksiders II.bmp", 0, 0)
		ll.e:LcdPrint(time, 7, 30, "Arial","",14,0)
		ll.e:LcdUpdate()

		Sleep(1000)
	end
end

function _OnDeactivated()
--
-- ADD ANY ROUTINES NEEDED WHEN FINISHED WITH SCRIPT HERE
--
	crLogo:Remove()
	ll.e:LcdClear()
	ll.e:LcdCustomOff()
end

function _OnEvent(event, arg, family)
end
function _BeforeMapEvent()
end
function _AfterMapEvent()
end

-- eof

 

Logi Visitor
Posts: 21
Registered: ‎01-06-2013

Re: G710+ How do you change Profiles on the fly?

Wow!

I think I'll just play for a while, and look into this at a later date.  LOL!

 

Thanks for the reply.