• Home
  • Downloads
  • EBOOT Fixes
  • Forums
  • New Posts
  • Register
    • Welcome, Register Now! 
    • Premium VIP Membership
    • PS3 Sticky
      • PS3 CFW & MFW
      • PS3 Debug Firmware
      • PS3 Decrypted PSN Links for CFW
      • PS3 Downloads
      • PS3 EBOOT.BIN Original File Links
      • PS3 Firmware
      • PS3 Game Releases List
      • PS3 Guides & Tutorials
      • PS3 Hacking Guides and Tutorials
      • PS3 Hacks & JailBreak
      • PS3 Help & Support
      • PS3 JailBreak Game Compatibility List
      • PS3 JB2 / True Blue (TB) Game Links
      • PS3 multiMAN Updates
      • PS3 Resources
      • PS3 Reviews
      • PS3 Save Files Repository
      • PS3 Themes
      • PS3 Trophies List
      • PS3 Videos
      • PS Vita Trophies List
    • Quick Links
      • Affiliates
      • Contact Us
      • FAQ
      • Post News
      • Site Rules
      • Tag Cloud
 

Video: PS3 uDraw Tablet Accessory as a PC Mouse / Tablet Demo

Category: PlayStation 3 & PSN News  By: PS3 News - (brandonw.net)
Tags: video ps3 udraw ps3 udraw drivers ps3 tablet ps3 pc mouse ps3 tablet demo brandonw ps3

65w ago - Today PlayStation 3 developer BrandonW has shared a video demo and driver along with source code for a PS3 uDraw Tablet accessory being used as a PC Mouse / Tablet.

Download: PS3 uDraw Tablet Driver v1.0.0 / SVN

To quote: The PS3 uDraw tablet/accessory comes with a USB dongle which shows up as a standard HID device when plugged into a PC, so I threw together some documentation and a "driver"/application to allow using it on a Windows PC as a standard mouse.

Documentation (Where ambiguous, assume little endian.)

There are 0x08 bytes that can be sent on the device's OUT interrupt pipe -- I don't know what these are. There are 0x1B bytes constantly received on the device's IN interrupt pipe, described below:

Offset Description

0x00 Button status information:
Bit Description
0 Set means square is being held down.
1 Set means cross is being held down.
2 Set means cricle is being held down.
3 Set means triangle is being held down.
4 No idea, but it set itself while playing around. More playing around reset it.
5 Unknown / nothing.
6 Unknown / nothing.
7 Unknown / nothing.
8 Set means select is being held down.
9 Set means start is being held down.
10 Unknown / nothing.
11 Unknown / nothing.
12 Set means the PS button is being held down.

0x02 D-pad status information:

Description Value

0x00 UP being held down.
0x01 UP+RIGHT being held down.
0x02 RIGHT being held down.
0x03 DOWN+RIGHT being held down.
0x04 DOWN being held down.
0x05 DOWN+LEFT being held down.
0x06 LEFT being held down.
0x07 UP+LEFT being held down.
0x0F Nothing pressed.
0x03 Unknown, HID report desriptor indicates X, Y, Z, and Rz and range 0x00-0xFF.

I can't get these to ever change from 80 80 80 80. 0x07 Position data:

Offset Description

0 Unknown / nothing.
1 Unknown / nothing.
2 Unknown / nothing.
3 Unknown / nothing.
4 0x40 when using the pen, 0x80 when using the finger and something crazy when pinching/stretching.
5 0x00 normally, seems to be the distance between two fingers when pinching/stretching.
6 Starts at 0x74 and goes up to 0xFF depending on how hard the pen is held down, 0x60 when not pressed.
7 Unknown / nothing.
8 Minimum X grid that something is being pressed in (0-7, see below). 0x0F if not pressed.
9 Minimum Y grid that something is being pressed in (0-4, see below). 0x0F if not pressed.
10 X offset from top-left corner of current grid of press point, or 0xFF for not pressed.
11 Y offset from top-left corner of current grid of press point, or 0xFF for not pressed.

0x13 Accelerometer data, four 16-bit little endian values -- all 0x0200 when not sync'd:

Offsets Description

0x00-0x01 X axis value; 0x200 at rest, increases to ~0x215 when tilting left vertically, decreases to ~0x1EA when tilting right vertically.
0x02-0x03 Y axis value; 0x200 at rest, decreases to ~0x01E6 when tilted fully forward, increases to ~0x215 when tilted fully backward.
0x04-0x05 Z axis value; around 0x01EC at rest, increases to 0x200 when tilted fully forward, backward, left, or right, increases to ~0x217 when fully upside down.
0x06-0x07 Unknown, never seems to change from 0x200.

The tablet is broken up into an 8x5 grid of 256x256 each. As the tablet's resolution is 1920x1080 (which doesn't divide evenly), the last row and column are slightly smaller:

256x256	256x256	256x256	256x256	256x256	256x256	256x256	128x256
256x256	256x256	256x256	256x256	256x256	256x256	256x256	128x256
256x256	256x256	256x256	256x256	256x256	256x256	256x256	128x256
256x256	256x256	256x256	256x256	256x256	256x256	256x256	128x256
256x56	256x56	256x56	256x56	256x56	256x56	256x56	128x56
Bytes 8 and 9 of the position data indicate which grid/box is currently being pressed, and bytes 10 and 11 indicate the X and Y coordinates within the grid/box.

You can get the absolute coordinates of the point being pressed with:

    X-coordinate: positionalData[8] * 0x100 + positionalData[10]
    Y-coordinate: positionalData[9] * 0x100 + positionalData[11]
I make absolutely no guarantees about the completeness or accuracy of this, but hopefully it helps you out a little.

Here's a little video of it.








Stay tuned for more PS3 Hacks and PS3 CFW news, follow us on Twitter and be sure to drop by the PS3 Hacks and PS3 Custom Firmware Forums for the latest PlayStation 3 scene updates and homebrew releases!

Comments 3 Comments - Go to Forum Thread »

Errors

The following errors occurred with your submission

Okay

Quick Reply Quick Reply

  • Decrease Size
    Increase Size
  • Wrap [QUOTE] tags around selected text
Posting Quick Reply - Please Wait Posting Quick Reply - Please Wait
BerserkLeon's Avatar
#3 - BerserkLeon - 65w ago
Reply
if there's any sensitivity at all in the device (press down on the tablet harder for a bigger brush size) I imagine this would be a decent replacement for some bamboo/wacom tablets... but I don't see that information here

HeyManHRU's Avatar
#2 - HeyManHRU - 65w ago
Reply
Yeah, I was about to buy one for my Xbox 360 but I really so no use to it. It's like when I used Mario paint for the first time, I was amazed, but after like a week I got bored from it.

GrandpaHomer's Avatar
#1 - GrandpaHomer - 65w ago
Reply
Nice, those being sold out dirty cheap lately on Amazon, someone might find this fairly useful.

Page 1 of 1 1

Related PS3 News and PS3 CFW Hacks or JailBreak Articles

• Sony PlayStation Store PS3 and PSN Updates for May 21, 2013
• Just One More Minute: Taking to the Skies in Luftrausers Details
• Comedy on Demand: Laugh Factory on PlayStation 3 is Updated
• FarSight: The Pinball Arcade Season One Bundle: 18 Tables, $29.99
• Sony Introduces a Better, Faster PSN Video Streaming Technology
• PlayStation Plus: Germinator & Pinball Arcade Free, PS Plus Deal
Affiliates  NewsNow  Privacy  PS3 CFW & MFW  PS3 Hacks & JailBreak  PS3 Reviews  PS3 Videos  © 2013 PlayStation 3 News

PlayStation 3 Links

• Contact Us E-Mail
• PS3 Affiliates
• PS3 CFW & MFW
• PS3 Debug Firmware
• PS3 Decrypted PSN Links for CFW
• PS3 Downloads
• PS3 EBOOT.BIN Original File Links
• PS3 Firmware
• PS3 Game Releases List
• PS3 Guides & Tutorials
• PS3 Hacking Guides and Tutorials
• PS3 Hacks & JailBreak
• PS3 Help & Support
• PS3 JailBreak Game Compatibility List
• PS3 JB2 / True Blue (TB) Game Links
• PS3 multiMAN Updates
• PS3 News Forums
• PS3 News Site FAQ
• PS3 News Site Advertising FAQ
• PS3 News Site Posting FAQ
• PS3 News Site Privacy FAQ
• PS3 News Site Rules
• PS3 News Site Tag Cloud
• PS3 News Site Terms
• PS3 Resources
• PS3 Reviews
• PS3 Save Files Repository
• PS3 Themes
• PS3 Trophies List
• PS3 Videos
• PS Vita Trophies List

PlayStation 3 News Discussions
Introductions: Hello Everyone, I'm New at PS3News.com! - 5h ago

rayrakesh's Avatar
Quote hi...
By rayrakesh with
 7009 Comments »
Introductions: Hello Everyone, I'm New at PS3News.com! - 6h ago

widur's Avatar
Quote just joined, a special interest in streaming HD movies...
By widur with
 7009 Comments »
Video: XBox One Next-Generation Console Unveiled by Microsoft - 7h ago

spcfury's Avatar
Quote I watched the broadcast and it does have a lot of cool features, but the biggest problem is that those features will require and Xbox live gold member...
By spcfury with
 3 Comments »
Sony PlayStation Store PS3 and PSN Updates for May 21, 2013 - 8h ago

StanSmith's Avatar
Quote Anyone else here played that Fast and Furious game yet? Its the worst car racing game ever. It looks about 10 years old and plays about 20 years old. ...
By StanSmith with
 1 Comment »

Latest PlayStation 3 Trophies
Ratchet: Deadlocked HD: Gut Wrencher
Ratchet: Deadlocked HD: Landstalker Talkin'
Ratchet: Deadlocked HD: Death From Above
Ratchet: Deadlocked HD: Spotless

Latest PlayStation Vita Trophies
Men's Room Mayhem: Toilet Trouble
Men's Room Mayhem: Mayhem Master
Men's Room Mayhem: Hygiene Award
Men's Room Mayhem: Sand in the Face

Latest PlayStation 3 Releases
Kamen Rider Battlide War JPN PS3-Caravan - 05-21-2013
Resident Evil Revelations PS3-ANTiDOTE - 05-19-2013
Muvluv Alternative Total Eclipse JPN PS3-HR - 05-17-2013
Skate 2 EUR PS3-Googlecus - 05-16-2013

Latest PlayStation 3 Themes
Wolverine Origins PS3 Theme - 05-19-2013
Heavy Rain (Official) Dynamic PS3 Theme - 05-09-2013
Wipeout HD Fury Dynamic PS3 Theme - 05-06-2013
Batman Arkham City Dynamic PS3 Theme - 05-04-2013
  • Contact Us
  • -
  • PS3 News