- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Re: G930 Keyboard and Mouse Emulation Plugins
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-04-2011 07:52 PM
The only one that really pops into my head right now is ctrl+u. I might have more once I get my laptop back but the last thing I want to be is a bother, so I'm willing to wait until I know what ctrl+keystrokes I need before I make a formal request.
Re: G930 Keyboard and Mouse Emulation Plugins
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-05-2011 02:56 PM
Well here is one with just ctrl-u added, let me know any other keys you need. ![]()
My current plugins (v1.9) for the legacy G930 drivers:
http://forums.logitech.com/t5/Headphones-Headsets-Microphones/G930-Keyboard-and-Mouse-Emulation-Plugins/td-p/503848
Re: G930 Keyboard and Mouse Emulation Plugins
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-05-2011 03:16 PM
Any possibility of a G35 version of this, or even the source code?
Re: G930 Keyboard and Mouse Emulation Plugins
[ Edited ]- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-05-2011 04:04 PM - edited 06-26-2011 04:15 PM
I don't think the G35 has the same plugin system, there is no SDK for the G35 (and these plugins use Logitech's API).
I have looked into watching the USB data and getting the button press & releases directly as a workaround for the limitations of the API but this code doesn't do it at all. If you get any code examples for USB interactions I would love to see them.
Here are the keyboard bits of code I use, the rest is just the example in the SDK:
[CODE]
void KeyDown ( short vk, int dvk, bool bExtended ) {
KEYBDINPUT kb={0}; INPUT Input={0};
if ( bExtended ) kb.dwFlags = KEYEVENTF_EXTENDEDKEY;
kb.wVk = vk; kb.wScan = dvk;
Input.type = INPUT_KEYBOARD; Input.ki = kb;
:
endInput(1,&Input,sizeof(Input));
}
void KeyUp ( short vk, int dvk, bool bExtended ) {
KEYBDINPUT kb={0}; INPUT Input={0};
kb.dwFlags = KEYEVENTF_KEYUP;
if ( bExtended ) kb.dwFlags |= KEYEVENTF_EXTENDEDKEY;
kb.wVk = vk; kb.wScan = dvk;
Input.type = INPUT_KEYBOARD; Input.ki = kb;
:
endInput(1,&Input,sizeof(Input));
}
void PressKey ( short vk, int dvk, bool bExtended){
int cvk = MapVirtualKey( vk, MAPVK_VK_TO_VSC );
if (cvk != 0 ) {dvk = cvk;}
KeyDown ( vk, dvk, bExtended );
KeyUp ( vk, dvk, bExtended );
}
void ToggleKey( short vk, int dvk, bool bExtended ){
int cvk = MapVirtualKey( vk, MAPVK_VK_TO_VSC );
if (cvk != 0 ) {dvk = cvk;}
BOOL state = GetAsyncKeyState( vk ) < 0;
if ( !state ) { KeyDown(vk, dvk, bExtended ); }
if ( state ) { KeyUp(vk, dvk, bExtended); }
}
[/CODE]
SendInput() is in user32.lib:
#pragma comment(lib, "user32.lib")
My current plugins (v1.9) for the legacy G930 drivers:
http://forums.logitech.com/t5/Headphones-Headsets-Microphones/G930-Keyboard-and-Mouse-Emulation-Plugins/td-p/503848
Re: G930 Keyboard and Mouse Emulation Plugins
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-06-2011 03:11 PM
I don't quite understand can you show me where you got the API?
Re: G930 Keyboard and Mouse Emulation Plugins
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-07-2011 12:27 AM
The SDK is in the driver downloads for the G930.
My current plugins (v1.9) for the legacy G930 drivers:
http://forums.logitech.com/t5/Headphones-Headsets-Microphones/G930-Keyboard-and-Mouse-Emulation-Plugins/td-p/503848
Re: G930 Keyboard and Mouse Emulation Plugins
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-07-2011 03:00 AM
What the hell? The G35 doesn't have a SDK but the G930 has one?
![]()
Re: G930 Keyboard and Mouse Emulation Plugins
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-10-2011 11:17 AM
How could I prevent the headset to turn off only when charging ? Turning it on when it is charging is not always working easily, it's a real problem.
Re: G930 Keyboard and Mouse Emulation Plugins
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-11-2011 03:29 AM
Well my plugin allows you to manually turn on and off the auto-off so if you remembered to use it when starting charging it will keep them on.
My current plugins (v1.9) for the legacy G930 drivers:
http://forums.logitech.com/t5/Headphones-Headsets-Microphones/G930-Keyboard-and-Mouse-Emulation-Plugins/td-p/503848
Re: G930 Keyboard and Mouse Emulation Plugins
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-12-2011 02:28 AM
Here is a new version. I went a bit crazy and made a seperate plugin for each modifier key and some combination of modifer keys for all keyboard keys.
This includes: Alt, Ctrl, Shift, Win, Alt+Ctrl, Alt+Ctrl+Shift, Alt+Shift, Alt+Win, Ctrl+Shift, Ctrl+Win, and Shift+Win.
The pack also includes the standard keyboard, key toggle, mouse, and power management plugins.
My current plugins (v1.9) for the legacy G930 drivers:
http://forums.logitech.com/t5/Headphones-Headsets-Microphones/G930-Keyboard-and-Mouse-Emulation-Plugins/td-p/503848
