AutoHotkey Community

It is currently May 27th, 2012, 4:04 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 9 posts ] 

Would you be interested?
Yes, I need one now.
Yes, but not interested enough to buy one.
No, I don't think this would be useful
You may select 1 option

View results
Author Message
 Post subject: HardwareSend
PostPosted: June 7th, 2011, 8:16 am 
Offline

Joined: November 28th, 2009, 4:45 am
Posts: 3089
I had an idea for a Usb device that when you plug it in it simulates a Keyboard Mouse and small Flash drive, such that when special files written to the flash they are read by the device and sent as key presses or mouse movements that the computer can't tell did not come from a real keyboard. This should allow Ahk to do anything a user can do like !^Del or interact with stubborn games.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 7th, 2011, 8:49 am 
Offline

Joined: June 4th, 2010, 9:04 pm
Posts: 1347
Location: california
Interesting concept. What with the ability of modern systems to even boot off usb memory sticks and pen drives, this could have much wider applications than simply interacting with out of control games. Possibly things like anti-virus/anti-worm/anti-rootkey scans. Registry repairs, and and even data recovery.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 7th, 2011, 11:50 pm 
Offline

Joined: January 26th, 2009, 5:26 pm
Posts: 151
I'm not sure I follow. Would this be a physical usb device that would receive input from AHK on the pc and send based on that input? Or is it a software side driver that acts like the above?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 8th, 2011, 12:14 am 
Offline
User avatar

Joined: November 2nd, 2008, 4:23 pm
Posts: 2906
Location: 127.0.0.1
That sounds like a waste of a USB port (no offence).

Try writing a keyboard driver that has some kind of COM or DLL interface.

_________________
aboutscriptappsscripts
Any code ⇈ above ⇈ requires AutoHotkey_L to run


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 8th, 2011, 12:38 am 
Offline

Joined: March 26th, 2010, 5:55 pm
Posts: 129
I think this is a good idea but I don't think it's necessary to have a physical device. You could make a device driver that behaves the same way. I have thought about making such a device driver. If the keypresses originate at the driver level they should be truly indistinguishable from real physical keypresses.

If you made a physical device then you might as well give it separate plugs for the sender and recipient, so you could use one computer to drive the keyboard and mouse of a second computer.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 8th, 2011, 3:08 am 
Offline
User avatar

Joined: October 7th, 2006, 8:45 am
Posts: 3330
Location: Simi Valley, CA
I'd have to agree with Jamie and Frankie; a virtual HID could accomplish all that in a software-only package; no need for a usb dongle at all.

If I had more time and interest, I would learn how to write drivers and make my own, then release it as an add-on for AHK (effectively a 'SendMode, Physical' option).

_________________
Ternary (a ? b : c) guide     TSV Table Manipulation Library
Post code inside [code][/code] tags!


Report this post
Top
 Profile  
Reply with quote  
 Post subject: good idea
PostPosted: June 8th, 2011, 4:17 am 
Offline

Joined: June 18th, 2006, 8:47 am
Posts: 346
Location: Phoenix, AZ
Quick someone give [VxE] some time... Oh right he'd also have to be interested.

I think a tool like this would be valuable.

Would a driver require administrative access? I'm not sure anyone else cares, but this limits me sometimes.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 8th, 2011, 4:28 pm 
Offline

Joined: October 13th, 2009, 10:09 pm
Posts: 1389
It would require admin access to install it, afterwards it should be fine to use.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 10th, 2011, 4:42 pm 
Offline

Joined: August 28th, 2009, 11:17 am
Posts: 599
Location: Brighton, UK
I'm not sure even your own driver would be required.

When you plug a new keyboard in, Windows already has the drivers to run it. There must be a way of fooling the OS into thinking a piece of software is hardware. MagicDisc, for instance, installs fake dvd rom drives, and windows thinks that they are real dvd-rom drives. The same must be possible for keyboard software.

David

_________________
With mixed feelings I am stepping down from all moderation responsibilities: http://www.autohotkey.com/forum/viewtopic.php?t=82906


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: gamax92 and 3 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group