• Home
  • Index
  • Search
  • Download
  • Server Rules
  • House Roleplay Laws
  • Player Utilities
  • Player Help
  • Forum Utilities
  • Returning Player?
  • Toggle Sidebar
Interactive Nav-Map
Tutorials
New Wiki
ID reference
Restart reference
Players Online
Player Activity
Faction Activity
Player Base Status
Discord Help Channel
DarkStat
Server public configs
POB Administration
Missing Powerplant
Stuck in Connecticut
Account Banned
Lost Ship/Account
POB Restoration
Disconnected
Member List
Forum Stats
Show Team
View New Posts
View Today's Posts
Calendar
Help
Archive Mode




Hi there Guest,  
Existing user?   Sign in    Create account
Login
Username:
Password: Lost Password?
 
  Discovery Gaming Community Discovery General Discovery RP 24/7 General Discussions
« Previous 1 … 48 49 50 51 52 … 778 Next »
multiple keymaps - possible ?

Server Time (24h)

Players Online

Active Events - Scoreboard

Latest activity

multiple keymaps - possible ?
Offline Stabby_Dave
08-03-2017, 06:29 PM, (This post was last modified: 08-10-2017, 04:30 PM by Stabby_Dave.)
#10
Member
Posts: 298
Threads: 83
Joined: Jan 2016

Cheers. Written some code. Not working yet. I'll post a copy when I get back from the pub.

[EDIT]

Hmmm. Can't get it working. It recognises when the scroll lock key is pressed, but doesn't seem to remap the keys correctly.

Registered on the AutoHotKey forum, but account not activated yet.

Here's the code:

Code:
; Changes the WASD keys to ARROW keys when Scroll Lock is toggled on. Reverts when off.

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
#Warn  ; Enable warnings to assist with detecting common errors.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.

;#IfWinActive ahk_class Freelancer

~ScrollLock::

    KeyWait, ScrollLock

    while GetKeyState("ScrollLock","T")
    {        
        MsgBox,0,,Scroll lock ON
        $w:: send {Up}
        $Up:: send w
        $s:: send {Down}
        $Down:: send s
        $a:: send {Left}
        $Left:: send a
        $d:: send {Right}
        $Right:: send d
    }
    
    MsgBox,0,,Scroll lock OFF
    
Return

;#IfWinActive

All help greatly appreciated.

Cheers.

A database of helpful information
Reply  


Messages In This Thread
multiple keymaps - possible ? - by Stabby_Dave - 08-02-2017, 06:19 PM
RE: multiple keymaps - possible ? - by Sombs - 08-02-2017, 06:31 PM
RE: multiple keymaps - possible ? - by Stabby_Dave - 08-02-2017, 06:34 PM
RE: multiple keymaps - possible ? - by DragonRider - 08-02-2017, 07:21 PM
RE: multiple keymaps - possible ? - by Stabby_Dave - 08-02-2017, 11:53 PM
RE: multiple keymaps - possible ? - by DragonRider - 08-03-2017, 07:18 AM
RE: multiple keymaps - possible ? - by Antonio - 08-03-2017, 08:46 AM
RE: multiple keymaps - possible ? - by Agetneor - 08-10-2017, 06:29 PM
RE: multiple keymaps - possible ? - by Stabby_Dave - 08-03-2017, 02:32 PM
RE: multiple keymaps - possible ? - by DragonRider - 08-03-2017, 02:38 PM
RE: multiple keymaps - possible ? - by Stabby_Dave - 08-03-2017, 06:29 PM
RE: multiple keymaps - possible ? - by Stabby_Dave - 08-10-2017, 04:59 PM
RE: multiple keymaps - possible ? - by Biggles - 08-10-2017, 05:07 PM
RE: multiple keymaps - possible ? - by Stabby_Dave - 08-10-2017, 05:30 PM
RE: multiple keymaps - possible ? - by Biggles - 08-11-2017, 11:35 PM
RE: multiple keymaps - possible ? - by DannyDelicious - 08-10-2017, 05:39 PM
RE: multiple keymaps - possible ? - by Stabby_Dave - 08-10-2017, 05:41 PM
RE: multiple keymaps - possible ? - by DannyDelicious - 08-10-2017, 05:43 PM
RE: multiple keymaps - possible ? - by Stabby_Dave - 08-10-2017, 06:28 PM
RE: multiple keymaps - possible ? - by Stabby_Dave - 08-10-2017, 06:40 PM
RE: multiple keymaps - possible ? - by DragonRider - 08-10-2017, 06:50 PM
RE: multiple keymaps - possible ? - by Stabby_Dave - 08-10-2017, 07:02 PM
RE: multiple keymaps - possible ? - by DragonRider - 08-10-2017, 07:22 PM
RE: multiple keymaps - possible ? - by Stabby_Dave - 08-10-2017, 07:31 PM
RE: multiple keymaps - possible ? - by DragonRider - 08-10-2017, 07:38 PM
RE: multiple keymaps - possible ? - by Stabby_Dave - 08-10-2017, 07:41 PM
RE: multiple keymaps - possible ? - by DragonRider - 08-10-2017, 08:00 PM
RE: multiple keymaps - possible ? - by Stabby_Dave - 08-10-2017, 08:11 PM
RE: multiple keymaps - possible ? - by Stabby_Dave - 08-15-2017, 03:46 PM
RE: multiple keymaps - possible ? - by ronillon - 08-15-2017, 08:22 PM
RE: multiple keymaps - possible ? - by Stabby_Dave - 08-17-2017, 01:15 AM
RE: multiple keymaps - possible ? - by ronillon - 08-17-2017, 11:14 AM
RE: multiple keymaps - possible ? - by DannyDelicious - 08-17-2017, 01:49 AM
RE: multiple keymaps - possible ? - by Stabby_Dave - 08-17-2017, 03:25 AM
RE: multiple keymaps - possible ? - by Laz - 08-17-2017, 12:12 PM
RE: multiple keymaps - possible ? - by Laz - 08-17-2017, 12:12 PM
RE: multiple keymaps - possible ? - by ronillon - 08-17-2017, 10:28 PM
RE: multiple keymaps - possible ? - by Stabby_Dave - 08-18-2017, 02:13 PM

  • View a Printable Version
  • Subscribe to this thread


Users browsing this thread:
1 Guest(s)



Powered By MyBB, © 2002-2025 MyBB Group. Theme © 2014 iAndrew & DiscoveryGC
  • Contact Us
  •  Lite mode
Linear Mode
Threaded Mode