phaenom Posted February 4, 2015 Share Posted February 4, 2015 Sorry my english, but i need help in my problem... I have this Mad Catz S.t.r.i.k.e.3 -keyboard which comes with 12macro keys (M1-M7 & C1-C5). The macro making software which came with the keyboard is terrible, so im trying to write own macros for those macro buttons with autoit. I have used autoit for over an year and this is actually first time i get stuck. For those who don't know how the keyboard looks: >Link to picture here< How i can use keyboards own macro keys in hotkeyset or _ispressed? As far as i know these might help: DEVICE NAME: Mad Catz S.T.R.I.K.E.3 Keyboard DEVICE TYPE: Unknown Safe To Unplug: Yes USB Hub: No Serial Number: Example# VID/Vendor ID=0738 PID/Product ID=1112(115) USB class: 00 USB Protocol: 00 PRODUCT NAME: SERVICE NAME: usbccgp DRIVER FILENAME: usbccgp.sys DEVICE MFG: (Standard USB Host Controller) USB Version 2.00 DRIVER VERSION: 6.1.7601.18328 DESCRIPTION: USB Composite Device FIRMWARE REVISION: 1.15 USB SubClass: 00 Parentld Prefix: 6&333627fc&0 Service Description: Microsoft USB Generic Parent Driver Device Class: USB Driver Description: USB Composite Device Instance ID: USBVID_0738&PID_1112Example# Thanks in advance! Link to comment Share on other sites More sharing options...
MilesAhead Posted February 4, 2015 Share Posted February 4, 2015 I would echo the vk_ keycodes and see if your keyboard uses any of the "oem" type in this list:https://msdn.microsoft.com/en-us/library/windows/desktop/dd375731%28v=vs.85%29.aspx My Freeware Page Link to comment Share on other sites More sharing options...
Exit Posted February 4, 2015 Share Posted February 4, 2015 (edited) Please tell us the keycodes when pressing those keys.Here a script to show the keycodes. Sorry to hide the code. See next post by Melba Edited February 5, 2015 by Exit App: Au3toCmd UDF: _SingleScript() Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted February 4, 2015 Moderators Share Posted February 4, 2015 Exit,Please read the KeyLoggers announcement and thank your lucky stars that I realise your good intentions in posting one. phaenom,Often these macro keys are hardware controlled and therefore cannot be managed by AutoIt - a bit like the Fn key on laptops. >M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
phaenom Posted February 5, 2015 Author Share Posted February 5, 2015 I would echo the vk_ keycodes and see if your keyboard uses any of the "oem" type in this list:https://msdn.microsoft.com/en-us/library/windows/desktop/dd375731%28v=vs.85%29.aspx None of oem type works. So is there any other way to get this work? Exit, Please read the KeyLoggers announcement and thank your lucky stars that I realise your good intentions in posting one. phaenom, Often these macro keys are hardware controlled and therefore cannot be managed by AutoIt - a bit like the Fn key on laptops. > M23 Don't worry, I'm not trying to make "get all keystrokes keylogger-program" Link to comment Share on other sites More sharing options...
phaenom Posted April 19, 2015 Author Share Posted April 19, 2015 I almost lost my hope with this one, but today I discovered that playstation 2 emulator on pc recognize my keyboards macro buttons. I think that if the emulator recognize those, autoit can also somehow. Any ideas how? And yes, I know this message can be near to violate the forum rules, althought this is not directly against those... Link to comment Share on other sites More sharing options...
JohnOne Posted April 19, 2015 Share Posted April 19, 2015 Playstation emulator probably has it's own keyboard driver in VM. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
Exit Posted April 20, 2015 Share Posted April 20, 2015 @phaenom Sent You a PM App: Au3toCmd UDF: _SingleScript() Link to comment Share on other sites More sharing options...
ViciousXUSMC Posted April 20, 2015 Share Posted April 20, 2015 Just an idea, but if the macro software sucks and you want to use AutoIT for macro functions and you can't capture the macros key hooks directly.Would it be a feasable solution to use the macro keys just as hotkeys.Set them to something simple like say key "G1" as Control+Y and then use Autoit with a hotkey for Control+Y = Your Desired Macro Link to comment Share on other sites More sharing options...
phaenom Posted April 20, 2015 Author Share Posted April 20, 2015 Just an idea, but if the macro software sucks and you want to use AutoIT for macro functions and you can't capture the macros key hooks directly. Would it be a feasable solution to use the macro keys just as hotkeys. Set them to something simple like say key "G1" as Control+Y and then use Autoit with a hotkey for Control+Y = Your Desired Macro That works, but then I need to keep macro software active, which seems to be kind of buggy and slows down computer sometimes. It would be nicer to do all only with autoit (: Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now