Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: pedja089; Keyword(s):

Search: Search took 0.00 seconds.

  1. Thread: USB Keyboard

    by pedja089
    Replies
    19
    Views
    14,191

    Re: USB Keyboard

    I think you can find some info in this series:
    https://www.youtube.com/watch?v=wdgULBpRoXk

    https://www.youtube.com/watch?v=2lPzTU-3ONI
    Look for nkey roll over descriptor...
  2. Thread: USB Keyboard

    by pedja089
    Replies
    19
    Views
    14,191

    Re: USB Keyboard

    Along buffer size, you need to change in hid_desc.bas:


    ReportDescriptor1
    retlw 0x05
    retlw 0x01 ; usage page (generic desktop)
    retlw 0x09
    retlw 0x06 ; usage (keyboard)...
  3. Thread: USB Keyboard

    by pedja089
    Replies
    19
    Views
    14,191

    Re: USB Keyboard

    It is not so easy to change buffer. You must change descriptor file, not just length(If I understand usb correctly).

    You can send one letter and modifier key at time.

    Use this


    For i = 0...
  4. Thread: USB Keyboard

    by pedja089
    Replies
    19
    Views
    14,191

    Re: USB Keyboard

    I used it on win7, and if I remember correctly on XP. It should work on win10.
    You have keys.PBP, with all defined keys, also in .doc document you have codes.

    Also USBSERVICE should be called...
  5. Thread: USB Keyboard

    by pedja089
    Replies
    19
    Views
    14,191

    Re: USB Keyboard

    I made keyboard to use as shortcuts for EAGLE. Should be exactly what you need. I used it on easypic dev board. Pic should be 18F4550.
    Here is complete project 9108

    I created that using many...
Results 1 to 5 of 5