Page 18 of 72 FirstFirst ... 891011121314151617181920212223242526272868 ... LastLast
Results 171 to 180 of 712

Thread: CONTEST: Xbox Chatpad Driver Challenge

  1. #171
    Newbie
    Join Date
    Nov 2010
    Posts
    50
    Quote Originally Posted by GAFBlizzard View Post
    I will try to make them configurable. To save time, I am planning on just making a text file where you could do something kind of like this:

    CHATPAD_KEY_H REAL_KEY_Q

    If you wanted an H on the chatpad to type a Q on your computer for some odd reason. Of course it would need to be fancier than that, and support shift, and the orange/green modes. And presumably I might have extra functions that you could map the keys to instead of just typing a letter. I want to get something released before too long though, so I hope you will forgive me if I save some features like that until AFTER the initial release. Maybe I will just include simple configuration stuff to start with and then work on making it better.

    If people still want to hear the boring progress updates: I found a HID example and got a virtual HID keyboard to show up tonight. Tomorrow I hope to make it actually work like a keyboard. Then I need to do the same to a mouse, and hook those back into my original chatpad code.
    You can make updates to it, get what is done and push it out and make updates for it.

    I still want the green & orange for a Fn key tho, if not a hassle.

  2. #172
    Newbie
    Join Date
    Nov 2010
    Posts
    17
    To be honest, making it so it is a text file you must edit is all that needs to be done. So long as each key is documented there isn't a call for a more complex GUI Keep it up GAF!

  3. #173
    Constant Bitrate
    Join Date
    Nov 2010
    Posts
    187
    Okay, my fake HID keyboard device just typed "hello" to me so I've got that under control. I need to wire it up to the normal chatpad stuff tomorrow, and then making the HID mouse should be a matter of lots of copy-and-paste work.

    Amusing events of the evening:
    1. Running a test program to make my fake HID keyboard device spit out a letter. Turns out the letter was "a" instead of a different letter I meant to print. Turns out that if you just send that one letter, but never tell the HID system that you STOPPED pressing it, it repeats forever! It took some puttering around until I could actually disable the device in device manager since the 'a' kept moving me to a different item.
    2. Scan/key codes are always confusing since there are like three tables, right? Of course the ones I had been using previously don't work now since...HID devices use a different (USB) key code table. Figures. Got all that figured out now, though.

  4. #174
    Newbie
    Join Date
    Nov 2010
    Posts
    2
    GAFBlizzard, if this gets to work, you are officially my hero
    I hope it will work for Wireless as well, If it dont, i will have to try to rewrite the code

  5. #175
    Newbie
    Join Date
    Jul 2010
    Posts
    10
    No no no... you will be THE HERO

    Quote Originally Posted by panxter View Post
    GAFBlizzard, if this gets to work, you are officially my hero
    I hope it will work for Wireless as well, If it dont, i will have to try to rewrite the code

  6. #176
    Constant Bitrate
    Join Date
    Nov 2010
    Posts
    187
    Tired from working my normal job late and not getting enough sleep. All I did tonight was some fixes to make sure the virtual HID keyboard doesn't get keys stuck repeating when the keyboard is not in use, and start the process of linking the chatpad to use the virtual keyboard, with configurable key mappings. I also did a bit of research into scan codes since the chatpad has international characters. I am not sure if I can get them all to work since it depends on whether a real HID keyboard could use those characters without being configured for another languge, but we'll see. I may well release the driver with some of the special characters unused until I fix them later. :P

    For those wanting configurable stuff, what I am working on is to let you specify a chatpad key and (optionally) modifiers, and map that to some action that's built into the driver/utility I am making, or to a keyboard key/modifier combination. This would let you have a line that say, configures CHATPAD_KEY_3 + CHATPAD_MODIFIER_ORANGE = KEYBOARD_KEY_F3. Then, having orange pressed (I'll probably have orange as a lock-on key that stays on until you press another key) and then pressing 3 on the chatpad would make your computer act like you pressed F3.

    Also as a disclaimer now, I'm not providing support or built-in options for cheat-related things like making your controller a turbo controller, or hot-keying Street Fighter IV moves. I don't want Microsoft getting annoyed at anything, or Valve considering something crazy like VAC-banning for custom drivers (surely they wouldn't, but still). So anyways, that's how it's gonna be, and I'll do my best to provide support for useful things otherwise.

    Tomorrow I should ACTUALLY get the chatpad driver linked up with the virtual HID keyboard. Another update tomorrow night hopefully. Thanks for all the encouraging words, people.

  7. #177
    Newbie
    Join Date
    Nov 2010
    Posts
    50
    Just haveing a small and convient keyboard is good enough.

    typeing virtually sucks xD

  8. #178
    Newbie
    Join Date
    Jul 2010
    Posts
    27
    In light of Blizzard's work (which I am amazed by at this point from sheer anticipation XD), I wanted to ask a question...

    You mentioned you're going to be configuring it through a virtual keyboard *and* mouse? If so, what part of the chatpad would be used for the mouse? (I can't remember perfectly but I don't recall arrow keys on it...) The only thing I can picture being the mouse would be the joystick? If that's the case, wouldn't that break the rule that it can't change the functionality of the original controller...?

    I'm not trying to criticize your work GAF - the progress you have made is remarkable! But I'd like to point out what this project was originally designed to do: implement a driver for the chatpad... If the virtual mouse device would be controlled by something on the chatpad, I wouldn't mind, especially if it's optional. But assuming the mouse device would be through the joysticks or anything on the actual controller somewhere (i.e. not the chatpad), I would think this would be against that guideline since the original operation of the controller itself would be changed.

    Not to mention, there is already software available (such as Joy2Mouse) that can map plenty of characters/VKCs/functions/etc. on the controller, which includes joystick->mouse... And it's pretty much a guarantee that most of us will be using something along those lines anyway. For example, I know I'm going to use it so the triggers will be volume up/down, which I can say is possible with Joy2Mouse. The only thing we can't operate is the chatpad, which is why we're looking forward to this driver, y'know?

    Just wanted to see what everyone thought of this. I know a lot of people are giving you their input on features they'd like to see... but this is one that may be a fundamental issue.

    Other than that, can't wait!

    [EDIT]
    Wanted to specifically state that I'm inquiring as to the mouse device; the keyboard one is pretty much what we're looking for. XD It's hard to have a keyboard otherwise...
    [/EDIT]

  9. #179
    Constant Bitrate
    Join Date
    Nov 2010
    Posts
    187
    It is intended to be optional, and if I implement configurable chatpad keys properly, it will be completely optional. Now that you mention it, I can see about making the virtual mouse device optional, so it would not even be installed on your system if you don't want it.

    The plan is to have a chatpad key (the little "people" button next to the spacebar by default) toggle a special controller mode. In this special mode, the 360 controller buttons and thumbsticks would COMPLETELY stop controlling the current game. Instead, the thumbsticks could move the mouse, controller buttons could act as mouse buttons, and I might even use one or two controller buttons to implement simple Windows ease-of-use things like alt-tabbing between applications. Pressing the people button again would make the light go out, and your controller would resume controlling the game as normal.

    I added it because I thought it would be great to have mouse control, and I think some people want it. But again, it will be optional if you prefer not to use it.

  10. #180
    Newbie
    Join Date
    Jul 2010
    Posts
    27
    That's incredible Thanks for the clarification.

Similar Threads

  1. HQCT Driver.
    By TheLlama in forum Linux
    Replies: 63
    Last Post: 10-06-2009, 10:32 AM
  2. System Choices and Questions
    By BoondockSaints in forum Car Audio
    Replies: 85
    Last Post: 08-09-2007, 11:52 AM
  3. Driver Issues (PL-2303 Driver)
    By PharmD Heel in forum GPS
    Replies: 1
    Last Post: 08-29-2006, 05:31 PM
  4. Questions!
    By Yellow-Snow in forum Mobile Impact
    Replies: 4
    Last Post: 06-10-2006, 06:18 PM

Tags for this Thread

Bookmarks

Posting Permissions

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