From 8b962630b7a95c4c9e0e354b13983d92ddb8e3b7 Mon Sep 17 00:00:00 2001 From: gewlitys Date: Thu, 21 May 2009 17:16:49 +0000 Subject: [PATCH] Updated Symbian default config file to new format introduced in february. Added 'A' and 'Z' as additional keys for starmap zoom. git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3116 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/symbian/uqm.cfg | 52 +++++++++++++++++++------------------- sc2/src/symbian/uqmapp.cpp | 6 +++++ 2 files changed, 32 insertions(+), 26 deletions(-) diff --git a/sc2/src/symbian/uqm.cfg b/sc2/src/symbian/uqm.cfg index 443d706c9..4dbde82f0 100644 --- a/sc2/src/symbian/uqm.cfg +++ b/sc2/src/symbian/uqm.cfg @@ -1,26 +1,26 @@ -config.textmenu = yes -config.alwaysgl = no -config.sfxvol = 20 -config.iconicscan = no -config.pulseshield = no -config.3domusic = yes -config.smoothmelee = no -config.positionalsfx = no -config.resheight = 240 -config.musicvol = 20 -config.textgradients = yes -config.reswidth = 320 -config.scaler = no -config.audiodriver = mixsdl -config.fullscreen = no -config.usegl = no -config.player2control = 3 -config.player1control = 0 -config.subtitles = yes -config.3domovies = yes -config.scanlines = no -config.showfps = no -config.speechvol = 20 -config.remixmusic = no -config.smoothscroll = no -config.audioquality = low +alwaysgl = BOOLEAN:false +sfxvol = INT32:20 +reswidth = INT32:320 +usegl = BOOLEAN:false +3domusic = BOOLEAN:true +textmenu = BOOLEAN:true +musicvol = INT32:20 +textgradients = BOOLEAN:true +subtitles = BOOLEAN:true +iconicscan = BOOLEAN:false +resheight = INT32:240 +scaler = STRING:no +3domovies = BOOLEAN:false +speechvol = INT32:20 +audioquality = STRING:low +positionalsfx = BOOLEAN:false +player1control = INT32:0 +showfps = BOOLEAN:false +pulseshield = BOOLEAN:false +smoothmelee = BOOLEAN:false +fullscreen = BOOLEAN:false +smoothscroll = BOOLEAN:false +audiodriver = STRING:mixsdl +player2control = INT32:3 +scanlines = BOOLEAN:false +remixmusic = BOOLEAN:false diff --git a/sc2/src/symbian/uqmapp.cpp b/sc2/src/symbian/uqmapp.cpp index dafef9b13..86ac5dd79 100644 --- a/sc2/src/symbian/uqmapp.cpp +++ b/sc2/src/symbian/uqmapp.cpp @@ -292,6 +292,12 @@ TInt CSDLObserver::SdlEvent(TInt aEvent, TInt aParam) // starmap zoom iSdl->SetSDLCode('3', SDLK_KP_PLUS); iSdl->SetSDLCode('2', SDLK_KP_MINUS); + + iSdl->SetSDLCode('A', SDLK_KP_PLUS); + iSdl->SetSDLCode('Z', SDLK_KP_MINUS); + + iSdl->SetSDLCode('a', SDLK_KP_PLUS); + iSdl->SetSDLCode('z', SDLK_KP_MINUS); } return 0; }