Forum


Notice to all users

We are migrating towards a new forum system located at community.teamspeak.com, as such this forum will become read-only on January 29, 2020

Page 1 of 3 123 LastLast
Results 1 to 15 of 37

Thread: Scroll Lock LED

  1. #1
    Join Date
    October 2010
    Location
    UK
    Posts
    12

    Scroll Lock LED

    Edit by dante696
    Please visit http://addons.teamspeak.com/director...ED-Plugin.html to download the plugin


    Can anyone add this suggestion to or make a small add in for TeamSpeak (3) that sets the scroll lock keyboard led off, and toggles it's state when the PTT (Push To Talk) key is pressed (and released), the same way the Teamspeak and Tray icons light up when you are broadcasting.

    The reason I'm asking this is because you cannot see the aforementioned icons ingame, yet the Scroll Lock LED on the keyboard (If it has one) is almost always visable.

    I got this idea from a Messenger Plus Live script, that flashes the Scroll Lock LED when you get a new messenger message.

    Keyboard event 145 iirc.

    It would be nice to see this as part of teamspeak (3) too.

    Many thanks in advance,
    Coolio.
    Last edited by Coolio Wolfus; October 31st, 2010 at 02:07 AM. Reason: Released Notification... For sKeLeTr0n.

  2. #2
    Join Date
    February 2006
    Location
    Texas, USA
    Posts
    4,143
    Sounds like this would be perfect for a plug-in. I like the idea Unfortunately I cannot write a plug-in but maybe someone else has the knowledge to do this.

  3. #3
    Join Date
    October 2010
    Location
    UK
    Posts
    12

    Exclamation Plugin SDK

    Looking at the Plugin SDK info, I get this...

    ----------
    Other events
    When a client starts or stops talking, a talk status change event is sent by the server:

    void onTalkStatusChangeEvent( serverConnectionHandlerID,
    status,
    isReceivedWhisper,
    clientID);

    uint64 serverConnectionHandlerID;
    int status;
    int isReceivedWhisper;
    anyID clientID;


    Parameters

    serverConnectionHandlerID

    ID of the server connection handler on which the event occured.

    status

    Possible return values are defined by the enum TalkStatus:

    enum TalkStatus {
    STATUS_NOT_TALKING = 0,
    STATUS_TALKING = 1,
    STATUS_TALKING_WHILE_DISABLED = 2,
    };
    STATUS_TALKING and STATUS_TALKING are triggered everytime a client starts or stops talking. STATUS_TALKING_WHILE_DISABLED is triggered only if the microphone is muted. A client application might use this to implement a mechanism warning the user he is talking while not sending to the server or just ignore this value.

    isReceivedWhisper

    1 if the talk event was caused by whispering, 0 if caused by normal talking.

    clientID

    ID of the client who started or stopped talking.
    ----------

    I believe that comparing the clients id with the speakers, to confirm the user is talking, alongside using status <1 and >0 to toggle the scroll lock led 0/1 off/on should be possible.

    It must be able to handle keyboard events as you can use mute and ptt keys...

    TeamSpeak plugin developers this should be an easy one...

  4. #4
    Join Date
    October 2010
    Location
    UK
    Posts
    12

    Question Code

    I have found some code which should allow the Scroll Lock LED functionality, but I'm currently struggling to get my compiler working properly.

    If anyone can make this plugin I can either post the sub code here or forward it by PM.

  5. #5
    Join Date
    October 2010
    Location
    UK
    Posts
    12

    Lightbulb Suggestion Improvement...

    I was thinking about this suggestion and came up with an additional improvement...

    Scroll Lock LED:
    Off - Default.
    Flashing - During any broadcast. (Except...)
    On - During self PTT and VOX broadcast.

    Come on there has to be someone who can write this plugin.

  6. #6
    Join Date
    December 2009
    Location
    Germany
    Posts
    38
    I just submitted a Plugin that makes exactly what you want on the TeamSpeak Addons page. I will post the link here when its approved :]

  7. #7
    Join Date
    October 2010
    Location
    UK
    Posts
    12

    Talking Don't forget the competition....


  8. #8
    Join Date
    February 2006
    Location
    Texas, USA
    Posts
    4,143
    That's awesome sKeLeTr0n! Thanks for doing the "hard" work so the rest of us can enjoy it

  9. #9
    Join Date
    October 2010
    Location
    UK
    Posts
    12

    Thumbs up You did it.....



    I hope everyone that uses it votes for it in the addon comp.

    Once I can get at it...I'll post a review here,

    Thanks in advance tho sKeLeTr0n.

  10. #10
    Join Date
    December 2009
    Location
    Germany
    Posts
    38
    Not finished yet, but should work
    http://addons.teamspeak.com/director...ED-Plugin.html

  11. #11
    Join Date
    October 2010
    Location
    UK
    Posts
    12

    Question

    Ty, you had the scroll lock code handy?

  12. #12
    Join Date
    December 2009
    Location
    Germany
    Posts
    38
    I just simulated a keypress event:]

  13. #13
    Join Date
    October 2010
    Location
    UK
    Posts
    12

    Question You want C/C++?

    Quote Originally Posted by sKeLeTr0n View Post
    I just simulated a keypress event:]

    Cool, you want me to dig up the C/C++ code I have and PM you it?

  14. #14
    Join Date
    December 2009
    Location
    Germany
    Posts
    38
    what c code???? but yes, for sure

  15. #15
    Join Date
    May 2010
    Posts
    6,310
    Godd job but,

    This plug crashed I can't start the client when it is in plugin folder.
    (Crashdump file)

    Tested on
    - Client beta-35 (32bit) windows XP pro
    - Client beta-35 (32bit) Windows Seven Ultimate

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Scroll Lock LED
    By Coolio Wolfus in forum Suggestions and Feedback
    Replies: 15
    Last Post: October 29th, 2010, 02:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •