Skip to content

Commit

Permalink
Improved mapping of virtual key codes to extended scan codes.
Browse files Browse the repository at this point in the history
  • Loading branch information
bvbohnen committed Apr 22, 2021
1 parent dd09b94 commit 82e811a
Show file tree
Hide file tree
Showing 6 changed files with 318 additions and 451 deletions.
2 changes: 1 addition & 1 deletion Support/steam_versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"sn_interact_collection": "1.1",
"sn_extra_game_options": "1.12",
"sn_better_target_monitor": "2.0",
"sn_mod_support_apis": "1.84",
"sn_mod_support_apis": "1.85",
"sn_remove_dock_glow": "1.2",
"sn_quiet_target_range_clicks": "1.1",
"sn_remove_blinking_lights": "1.4",
Expand Down
7 changes: 1 addition & 6 deletions X4_Python_Pipe_Server/Main.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,6 @@
# Flag to use during development, for extra exception throws.
developer = False

# Use a python test client, instead of needing x4 open.
# Note: putting breakpoints on tested modules requires opening them from
# their extension folder path, not their git repo path that was symlinked over.
test_python_client = 0

# Name of the host pipe.
pipe_name = 'x4_python_host'

Expand Down Expand Up @@ -172,8 +167,8 @@ def Main():
return

# Check if running in test mode.
test_python_client = False
if args.test:
global test_python_client
test_python_client = True

if not args.x4_path:
Expand Down
2 changes: 1 addition & 1 deletion X4_Python_Pipe_Server/X4_Python_Pipe_Server.pyproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<Name>X4_Python_Pipe_Server</Name>
<RootNamespace>Python_Server</RootNamespace>
<LaunchProvider>Standard Python launcher</LaunchProvider>
<CommandLineArguments>-t -x "C:\Steam\steamapps\common\X4 Foundations" -m "extensions\sn_measure_perf\python\Measure_Perf.py"</CommandLineArguments>
<CommandLineArguments>-t -x "D:\Games\Steam\steamapps\common\X4 Foundations" -m "extensions\sn_mod_support_apis\python\Send_Keys.py</CommandLineArguments>
<EnableNativeCodeDebugging>False</EnableNativeCodeDebugging>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
Expand Down
4 changes: 3 additions & 1 deletion extensions/sn_mod_support_apis/change_log.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,6 @@ Change Log for overall api package.
- Added Userdata api, for saving shared data between different save games.
- Switched hotkeys and simple menu options to store settings in userdata.
* 1.84
- Improved hotkey api support for non-alphanumeric keys.
- Improved hotkey api support for non-alphanumeric keys.
* 1.85
- Improved hotkey api support various keyboard layouts.
2 changes: 1 addition & 1 deletion extensions/sn_mod_support_apis/content.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
name="Mod Support APIs"
description=" "
author="SirNukes"
version="184"
version="185"
date="2019-07-23"
save="false"
sync="false">
Expand Down
Loading

0 comments on commit 82e811a

Please sign in to comment.