Posts

Showing posts with the label Mouse

Can We Use Keyboard & Mouse On PS3?

Answer : Yes. To add a Bluetooth keyboard, go to Settings > Accessories > Manage Bluetooth Devices. For a non-Bluetooth wireless keyboard to work, it would probably have to have its own wireless receiver that would plug into the console via USB. It also supports USB keyboards. From page 31 of my PS3 owner's manual: Using a USB keyboard You can enter characters using a USB keyboard (sold separately). While the text entry screen is displayed, if any key on the connected USB keyboard is pressed, the text entry screen will enable you to use the USB keyboard. Hint You cannot use the predictive mode when using a USB keyboard. Unfortunately, it looks like there aren't many games that natively support keyboard/mouse. I did find the Eagle Eye, a third-party adapter that allows you to use a USB keyboard/mouse in lieu of a controller regardless of whether or not the games supports it. Although you can use a mouse and keyboard, you can't play...

C# - Capturing The Mouse Cursor Image

Image
Answer : While I can't explain exactly why this happens, I think I can show how to get around it. The ICONINFO struct contains two members, hbmMask and hbmColor, that contain the mask and color bitmaps, respectively, for the cursor (see the MSDN page for ICONINFO for the official documentation). When you call GetIconInfo() for the default cursor, the ICONINFO struct contains both valid mask and color bitmaps, as shown below (Note: the red border has been added to clearly show the image boundaries): Default Cursor Mask Bitmap Default Cursor Color Bitmap When Windows draws the default cursor, the mask bitmap is first applied with an AND raster operation, then the color bitmap is applied with an XOR raster operation. This results in an opaque cursor and a transparent background. When you call GetIconInfo() for the I-Beam cursor, though, the ICONINFO struct only contains a valid mask bitmap, and no color bitmap, as shown below (Note: again, the red border has been adde...