Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › MultiPlayer Game Hacks & Cheats › Call of Duty Hacks & Cheats › Call of Duty 6 - Modern Warfare 2 (MW2) Hacks › Call of Duty Modern Warfare 2 Coding / Programming / Source Code › Button Monitor C++ help

Button Monitor C++ help

Posts 1–4 of 4 · Page 1 of 1
AT
Atomikb34st
Button Monitor C++ help
im trying to figure out how can i create a hook or something to pull the button info.
so in my dll when someone press the f key it does something. any ideas would be great.

i know i need to either create the system or i can pull the existing one from mw2 but i dont know how to do either one and im stuck.
#1 · 14y ago
aIW|Convery
aIW|Convery
Check the programming section for a good C++ low level keyboard hook..
#2 · 14y ago
intervention61
intervention61
Code:
if( GetAsyncKeyState( 0x46 ) & 1 )
{
	// Do whatever
}
#3 · 14y ago
AT
Atomikb34st
what about on the xbox version do any of you know of such a function that will tell is a button is pressed.
#4 · 14y ago
Posts 1–4 of 4 · Page 1 of 1

Post a Reply

Similar Threads

  • [Help] Playing a xbox 360 with a Hp w2007 monitor, sound help!By Hunt4Ever in XBOX General Discussion
    15Last post 15y ago
  • button helpBy tremaster in Visual Basic Programming
    13Last post 16y ago
  • [Help]Click Image Button[Solved]By ppl2pass in Visual Basic Programming
    12Last post 16y ago
  • [Help]Record Button Down LengthBy ppl2pass in Visual Basic Programming
    10Last post 16y ago
  • [Help]VB6 Trainer - buttons/timersBy Ephemera in Visual Basic Programming
    5Last post 19y ago

Tags for this Thread

None