python key handling (again...)

Need help testing contributed art or code or having trouble getting your newest additions into game compatible format? Confused by changes to data formats? Reading through source and wondering what the developers were thinking when they wrote something? Need "how-to" style guidance for messing with VS internals? This is probably the right forum.
Post Reply
maddanio
Trader
Trader
Posts: 20
Joined: Tue May 30, 2006 9:01 pm
Location: Germany
Contact:

python key handling (again...)

Post by maddanio »

Hi,

The vegastrike core (i.e. the c++ part) does not pass on or apply any modifiers for key presses. subsequently no capital letters are recognized as such. Please either pass on the modifier or apply as appropriate in the platforms keymap. its not really a showstopper, just annoying :).

ps: the relevant piece of code is in cmd/base_interface.cpp(759).
--------------
Daniel Oberhoff
loki1950
The Shepherd
Posts: 5841
Joined: Fri May 13, 2005 8:37 pm
Location: Ottawa
Contact:

Post by loki1950 »

In that case why does "shift-m" succeed in dismissing the nav comp window :?:

Enjoy the Choice :)
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
ace123
Lead Network Developer
Lead Network Developer
Posts: 2560
Joined: Sun Jan 12, 2003 9:13 am
Location: Palo Alto CA
Contact:

Post by ace123 »

You are referring to the base_interface code which has a bunch of hacked-together functions.

Okay I see what you mean... the part that handles delayed keypresses from the C++ basecomputer screen did it correctly, but the normal one did not.

Anyway I have committed a new version (11757)
Post Reply